Skip to content
Private Network Problem
itsjoeoui
OP

10 months 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 but I get curl: (7) Failed to connect to frankfurter.railway.internal port 8080 after 57 ms: Couldn't connect to server

Closed$10 Bounty

11 Replies

itsjoeoui
OP

10 months ago

Project ID: 78ddbf30-8335-4dce-8fb2-17afb650dc8a


10 months ago

  1. Is the "Frankfurter" service listening on port 8080?
  2. Is the other service in the same environment?

itsjoeoui
OP

10 months ago

  1. Yes
  2. Yes

itsjoeoui
OP

10 months ago

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#

itsjoeoui
OP

10 months ago

btw my project seems to be ipv6 only. could that be the reason


10 months ago

That may be the cause, could you run curl -6 http://frankfurter.railway.internal:8080 and see if that produces a different result?


itsjoeoui
OP

10 months ago

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#

itsjoeoui
OP

10 months ago

same error


10 months ago

sanity check, could you screenshot the private networking section under service settings?



itsjoeoui
OP

10 months ago

I ssh'ed into the server and tried to curl frankfurter


Welcome!

Sign in to your Railway account to join the conversation.

Loading...