16 days ago
I have a Docker container deployed and the private domain is frankfurter.railway.internal
I tried to curl this in another railway server curl [http://frankfurter.railway.internal:8080](http://frankfurter.railway.internal:8080) but I get curl: (7) Failed to connect to frankfurter.railway.internal port 8080 after 57 ms: Couldn't connect to server
11 Replies
16 days ago
Is the "Frankfurter" service listening on port 8080?
Is the other service in the same environment?
In Frankfurther:
root@43a39618c46d:/app# curl localhost:8080
{
"name": "Frankfurter",
"description": "Currency data API",
"versions": {
"v1": "/v1"
},
"docs": "https://frankfurter.dev",
"source": "https://github.com/lineofflight/frankfurter"
}
root@43a39618c46d:/app#16 days ago
That may be the cause, could you run curl -6 [http://frankfurter.railway.internal:8080](http://frankfurter.railway.internal:8080) and see if that produces a different result?
root@42aacfd01ed9:/app# curl -6 http://frankfurter.railway.internal:8080
curl: (7) Failed to connect to frankfurter.railway.internal port 8080 after 57 ms: Couldn't connect to server
root@42aacfd01ed9:/app#16 days ago
sanity check, could you screenshot the private networking section under service settings?

