Can't able to connect with socket URL

rrajan94
PRO

a year ago

In one of my service I implemented the socket code and after deployment I can't able to connect with that socket. Need help in that.Service name = jupitun-dev

In log I am getting this:- Hocuspocus v2.13.2 running at:

> HTTP: http://0.0.0.0:9000

> WebSocket: ws://0.0.0.0:9000Now how can I can connect with socket which is running on port 9000?

Solved

5 Replies

a year ago

Are you dialing over the private network? We should support websockets totally fine. Only thing I can see is you might need to bind on [::] which is the IPv6 URL


a year ago

Or you can try changing the runtime from "Legacy" to "V2" for your applications


rrajan94
PRO

a year ago

Or you can try changing the runtime from "Legacy" to "V2" for your applications

it's already V2


a year ago

Okay confirmed ye you need to listen on the ipv6 [::] not the ipv4 (0.0.0.0)


Status changed to Solved Railway over 1 year ago


a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.


Can't able to connect with socket URL - Railway Help Station