Thursday, 09 September 2021
  1 Replies
  1.2K Visits
  Subscribe
We have an implementation running a Delphi compiled windows service running TsgcWebSocketServer listing on port 9500. The frontend is running React listening on port 3000. The frontend makes calls as needed via websockets to the service. Works great in a simple dev environment using node to host the frontend, but unsure as to how to get it working in IIS.

Has anyone had experience on setting something like this up on IIS? Any assistance would be very much appreciated.
2 years ago
·
#802
Hi,

I don't have too much experience with React, only doing some samples, but I think that if you build the project and go to the "build" folder, copy all the files inside and then paste in the root directory of the IIS server, it should work. The React files are just javascript code (plus HTML and CSS...) so any HTTP server should be able to handle these.

Kind Regards,
Sergio
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 10MB)