R
Railway8mo ago
icetage

ECONNREFUSED connection to server at "****.proxy.rlwy.net" failed

It seams to me that at random times I can connect to my postgres instance on railways, and somethimes i get the following error:
psql: error: connection to server at "****.proxy.rlwy.net", port **** failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
psql: error: connection to server at "****.proxy.rlwy.net", port **** failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
I'm using the DATABASE_URL direcly copied from railway to connect to my instance. Yesterday it worked no problem, today I'm getting this error. On the railway dashboard I don't see anything wrong and it seams everything works. I'm also able to connect from my frontend hosted on vercel so it might be something to do with me trying to connect from localhost? Any ideas what's wrong here and how to solve it?
4 Replies
Percy
Percy8mo ago
Project ID: 22f274b7-db30-4577-8dfe-842b58c197e8
icetage
icetage8mo ago
22f274b7-db30-4577-8dfe-842b58c197e8
Brody
Brody8mo ago
perhaps you where trying to connect to the database from a network with a firewall that is blocking non standard ports such as the port in use by that database
Duchess
Duchess8mo ago
New reply sent from Help Station thread:
Hello there, I am having the exact same issue. Did you find any answer? I think it has to do with the databases upload it needed to be done. However, if you found a solution please let me know.
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
try connecting to the database while on a VPN connection
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server