Thursday, 09 September 2021
  1 Replies
  1.6K 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.
3 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,pas,dfm,dpr,dproj,dpk
· Insert · Remove
  Upload Files (Maximum 10MB)