No such host is known
cyanokid
TRIALOP

2 years ago

conn = connect(dsn, connectionfactory=connection_factory, **kwasync)

django.db.utils.OperationalError: could not translate host name "meticulous-empathy-3tc1.railway.internal" to address: No such host is known.

-my host is not known... i see other's tutorial hostname usually got name like "autorack.proxy.rlwy.net" or "'viaduct.proxy.rlwy.net' but mine got hostname "meticulous-empathy-3tc1.railway.internal"

Solved

4 Replies

2 years ago

You need to use the public host and port when developing locally.


cyanokid
TRIALOP

2 years ago

where can i get the public host and port? are not those from variables?


2 years ago

You can find that in your service settings.


cyanokid
TRIALOP

2 years ago

i got it. it works and i can already migrate the db. Thanks sirblush emoji


Status changed to Solved brody over 1 year ago


Loading...