Postgress Railway service How to connect?
sup-rith
PROOP

a year ago

Hi, I am wanting to connect to my postgress service that I have up and running in Railway? When I use the Database_URL it does not connect I am wanting to connect via psql. Any ideas?

Solved$10 Bounty

18 Replies

a year ago

You need to use the PUBLIC_URL for external connections like psql


sup-rith
PROOP

a year ago

Thanks will give it a shot


a year ago

@TotalDev did it work?


sup-rith
PROOP

a year ago

yes it did thank you!


sup-rith
PROOP

a year ago

What is the best postgres client to view data?


a year ago

I use Beekeeper Community Version!


a year ago

PGAdmin is good too


sup-rith
PROOP

a year ago

So with PGAdmin, theres no way to connect with a db URL is there?


a year ago

Let me check, opening it up


a year ago

yeah, on pgadmin you have to individually fill each field


a year ago

on the 'HOST' you're going to use the TCP proxy domain, you can find it in the 'Settings' tab


a year ago

'PORT' is going to be the TCP proxy port, the rest of the fields like 'USER' and 'PASSWORD' you can find in the env vars tab


sup-rith
PROOP

a year ago

Thanks for the detailed response!


sup-rith
PROOP

a year ago

I ended up just using the URL and downloaded beekeeper 🙂


a year ago

Nice!


a year ago

Can I mark this thread as solved?


sup-rith
PROOP

a year ago

yes please and thank you!!


a year ago

!s


Status changed to Solved medim 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...