Can't connect postgress db in railway to DBeaver
giannsaicpibot99
PROOP

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

Solved

25 Replies

giannsaicpibot99
PROOP

a year ago

ce9f612a-58ab-4b1e-a58f-ab59cfb943a3


maddsua
HOBBY

a year ago

Make sure you're using the public url for it (the one that ends with .proxy.rlwy.net instead of .railway.internal)


giannsaicpibot99
PROOP

a year ago

im using it and it tells me Invalid JDBC URL: postgresql://postgres:XqNxlwAGUmPjtBjRoHxLJphOmYNKetMu@viaduct.proxy.rlwy.net:59235/railway


maddsua
HOBBY

a year ago

umm please don't post the full url if you care about security


maddsua
HOBBY

a year ago

altho, if you want me to check it, I could try to connect to ur db from my side


maddsua
HOBBY

a year ago

since you've just posted it's credentials anyway


giannsaicpibot99
PROOP

a year ago

yes please


maddsua
HOBBY

a year ago

yup the db and it's url are totally fine


maddsua
HOBBY

a year ago

has to be an issue with dbeaver itself


maddsua
HOBBY

a year ago

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?


maddsua
HOBBY

a year ago

ahh yes, dbeaver doesn't understand those pg urls


giannsaicpibot99
PROOP

a year ago

so i cant use dbeaver for it?


giannsaicpibot99
PROOP

a year ago

is there an alternative?


a year ago

you would need for format that url as a JDBC url


a year ago

works fine

1325517948051394600


giannsaicpibot99
PROOP

a year ago

can you help me how to format my current url?


a year ago

look at the screenshot please


giannsaicpibot99
PROOP

a year ago

oh okay thanks


giannsaicpibot99
PROOP

a year ago

I get The connection attempt failed. Connection reset


giannsaicpibot99
PROOP

a year ago

can you paste the values i need to use for the host?


giannsaicpibot99
PROOP

a year ago

and port


giannsaicpibot99
PROOP

a year ago

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


Loading...