Connect via websockets

Thanks for the detailed response! You helped me get it working.

I was trying to connect using ws://myservice.onrender.com:10000.

Your answer helped me discover two things that I needed to fix:

  1. From the client ws:// does not work - you must use wss:// to connect
  2. From the client, do not specify a port. I needed to drop the :10000 and just use ws://myservice.onrender.com

Now it works like a charm. I’d love to see both of these points added to the official documentation.

4 Likes