a month ago
when I click on my deployment URL, getting "this side can'e reached"
and when I check to found the below error in the database:
Database Connection
We are unable to connect to the database over the public network.
getaddrinfo ENOTFOUND postgres.railway.internal
it was perfecttly working til today's morning, can you help me out that's kind of urgennt too
6 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Migration Error: getaddrinfo ENOTFOUND postgres.railway.internal
🧵 Error connecting to PostgreSQL: getaddrinfo ENOTFOUND postgres.railway.internal during deployment
If you find the answer from one of these, please let us know by solving the thread!
a month ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 28 days ago
a month ago
We are unable to connect to the database over the public network
If you are trying to reach postgres over the public network then "postgres.railway.internal" is not what you're looking for because that is an internal private domain; you can instead find the public domain in the variable DATABASE_PUBLIC_URL within the postgres service, you can use that to connect to the database over the public network
dev
We are unable to connect to the database over the public networkIf you are trying to reach postgres over the public network then "postgres.railway.internal" is not what you're looking for because that is an internal private domain; you can instead find the public domain in the variable DATABASE_PUBLIC_URL within the postgres service, you can use that to connect to the database over the public network
a month ago
Actually, I am not the techy person and have no idea what you're refereing to, can you please help or solve this, I can give you whatever access you needed and don't want to lose the database.
gouravlohiya12
Actually, I am not the techy person and have no idea what you're refereing to, can you please help or solve this, I can give you whatever access you needed and don't want to lose the database.
a month ago
Alright, no worries, I'll create a video guide super quick
a month ago
Here's a video showing how to get the public database URL: https://i.gyazo.com/dd1e75a5271fed0dcfc5acef09d53d6d.mp4
Once you have the public database URL, you can use this wherever you're trying to connect to the database, unfortunately I can't guide you through this part since I have no other context regarding where you're trying to use it other than knowing you intend to use it over the public network