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

2 years 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

2 years ago

ce9f612a-58ab-4b1e-a58f-ab59cfb943a3


maddsua
HOBBY

2 years 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

2 years ago

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


maddsua
HOBBY

2 years ago

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


maddsua
HOBBY

2 years ago

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


maddsua
HOBBY

2 years ago

since you've just posted it's credentials anyway


giannsaicpibot99
PROOP

2 years ago

yes please


maddsua
HOBBY

2 years ago

yup the db and it's url are totally fine


maddsua
HOBBY

2 years ago

has to be an issue with dbeaver itself


maddsua
HOBBY

2 years ago

but please, make sure you don't use these exact db credentials later in production


2 years ago

perhaps it's an invalid JDBC url because it's not a JDBC formatted url?


maddsua
HOBBY

2 years ago

ahh yes, dbeaver doesn't understand those pg urls


giannsaicpibot99
PROOP

2 years ago

so i cant use dbeaver for it?


giannsaicpibot99
PROOP

2 years ago

is there an alternative?


2 years ago

you would need for format that url as a JDBC url


2 years ago

works fine

1325517948051394590


giannsaicpibot99
PROOP

2 years ago

can you help me how to format my current url?


2 years ago

look at the screenshot please


giannsaicpibot99
PROOP

2 years ago

oh okay thanks


giannsaicpibot99
PROOP

2 years ago

I get The connection attempt failed. Connection reset


giannsaicpibot99
PROOP

2 years ago

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


giannsaicpibot99
PROOP

2 years ago

and port


giannsaicpibot99
PROOP

2 years ago

I've deleted the service because i copy pasted the public url and created a new one


2 years 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


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...