postgres.railway.internal - Private networking
submicron13
HOBBYOP

a year 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
HOBBYOP

a year 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 about 1 year ago


submicron13
HOBBYOP

a year 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 about 1 year ago


a year ago

Awesome!


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...