By Tom Knorr on Thursday, 09 September 2021
Posted in General
Replies 1
Likes 0
Views 1.5K
Votes 0
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.
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
·
2 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post