#Can't connect postgress db in railway to DBeaver
27 messages · Page 1 of 1 (latest)
Project ID: ce9f612a-58ab-4b1e-a58f-ab59cfb943a3
ce9f612a-58ab-4b1e-a58f-ab59cfb943a3
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:[email protected]:59235/railway
umm please don't post the full url if you care about security
altho, if you want me to check it, I could try to connect to ur db from my side
since you've just posted it's credentials anyway
yes please
yup the db and it's url are totally fine
has to be an issue with dbeaver itself
but please, make sure you don't use these exact db credentials later in production
perhaps it's an invalid JDBC url because it's not a JDBC formatted url?
ahh yes, dbeaver doesn't understand those pg urls
can you help me how to format my current url?
look at the screenshot please
oh okay thanks
I get The connection attempt failed. Connection reset
can you paste the values i need to use for the host?
and port
I've deleted the service because i copy pasted the public url and created a new one
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
!s