a year ago
I am trying to connect my local DBeaver to the postgress db i created on railway, but I keep getting the connection attempt failed. Im trying with both URL and host
25 Replies
Make sure you're using the public url for it (the one that ends with .proxy.rlwy.net instead of .railway.internal)
im using it and it tells me Invalid JDBC URL: postgresql://postgres:XqNxlwAGUmPjtBjRoHxLJphOmYNKetMu@viaduct.proxy.rlwy.net:59235/railway
altho, if you want me to check it, I could try to connect to ur db from my side
but please, make sure you don't use these exact db credentials later in production
a year ago
perhaps it's an invalid JDBC url because it's not a JDBC formatted url?
a year ago
you would need for format that url as a JDBC url
a year ago
works fine

a year ago
look at the screenshot please
I've deleted the service because i copy pasted the public url and created a new one
a year ago
the value you need to use for the host and port can be found in the service settings under public networking, and the username and password are found in the variables tab
a year ago
!s
Status changed to Solved brody • about 1 year ago