SocketIO Connects fine on LAN but not on Render

So I noticed the post above and tried to use: wss:// but my client won’t connect still.

Does anybody have the solution for getting this to work?


There will always be differences between environments. Development mode/Local, production mode/Render, etc. These differences need to be considered and configured as required for your own app in each environment.

A common issue we see is trying to start a separate socket process/port. A Render Web Service can only expose one port to the public proxy, so that either needs to be your socket server, or combine servers to go through one, e.g. express


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.