a year ago
Hi ,
We have a problem with two services. The first one open a websocket :
...
2024-12-25 11:05:33,695 - INFO - server listening on 127.0.0.1:9601
2024-12-25 11:05:33,695 - INFO - server listening on [::1]:9601
...
The other try to connect but always refused :
@XXXX/assistant:start: Connecting to remote: ws://XXXXXX.railway.internal:9601
@XXXX/assistant:start: BlindWebsocket caught error: {"code":"ECONNREFUSED"}
We have configured the PORT var in the Dockerfile and in the code...
The two services are in the same project and in the same group.
Thanks
1 Replies
a year ago
Hello,
Railway's private networking only supports IPv6, so your application has to bind to an IPv6 host.
Docs and examples can be found here -
https://docs.railway.com/guides/private-networking#listen-on-ipv6
Status changed to Awaiting User Response Railway • about 1 year ago
7 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 months ago