Skip to content
postgres.railway.internal - Private networking
submicron13
OP

2 years ago

I'm trying to connect my Django deployment to a postgres using private networking. I copied the path for the private address and now my deployment crashes:

django.db.utils.OperationalError: could not translate host name "postgres.railway.internal" to address: Name or service not know

What am I doing wrong?

Solved

4 Replies

submicron13
OP

2 years ago

I should mention it works when using the public url but would like to avoid that because of egress traffic.



Status changed to Awaiting User Response Railway • almost 2 years ago


submicron13
OP

2 years ago

Oh that fixed it. I hadn't found that document. I didn't actually know that you could have multiple services within a project. I thought they had to be separate. So this made life easier.

Thanks


Status changed to Awaiting Railway Response Railway • almost 2 years ago


2 years ago

Awesome!


Status changed to Awaiting User Response Railway • almost 2 years ago


Status changed to Solved brody • almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...