4 months ago
I'm trying to connect 2 services together using private network but I can't seem to reach it using the railway private domain.
I have a service (crawl4ai) running on port 11235
This is from the service deployement logs: [2025-11-20 14:33:39 +0000] [3] [INFO] Listening at: http://0.0.0.0:11235 (3)
I'm trying to reach that service from an other service using basic curl:
curl http://crawl4ai.railway.internal:11235/health
curl: (7) Failed to connect to crawl4ai.railway.internal port 11235 after 143 ms: Couldn't connect to serverIf I try the same command using a public url, I get no issue.
How can I connect to this service on the private network ?
6 Replies
4 months ago
Hi,
You need to bind your service to both IPv6 and v4 for private networking and public networking to work. What framework are you using?
ultimately I won't need public networking on the crawl4ai service. I'm using nodejs service on 1 side and crawl4ai (python) on the other side
4 months ago
Then you can just bind to IPv6.
4 months ago
Right now you are using IPv4
4 months ago
Using :: as the host should work