Postgress Railway service How to connect?
sup-rith
PROOP

8 months 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

8 months ago

You need to use the PUBLIC_URL for external connections like psql


sup-rith
PROOP

8 months ago

Thanks will give it a shot


8 months ago

@TotalDev did it work?


sup-rith
PROOP

8 months ago

yes it did thank you!


sup-rith
PROOP

8 months ago

What is the best postgres client to view data?


8 months ago

I use Beekeeper Community Version!


8 months ago

PGAdmin is good too


sup-rith
PROOP

8 months ago

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


8 months ago

Let me check, opening it up


8 months ago

yeah, on pgadmin you have to individually fill each field


8 months ago

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


8 months 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

8 months ago

Thanks for the detailed response!


sup-rith
PROOP

8 months ago

I ended up just using the URL and downloaded beekeeper 🙂


8 months ago

Nice!


8 months ago

Can I mark this thread as solved?


sup-rith
PROOP

8 months ago

yes please and thank you!!


8 months ago

!s


Status changed to Solved medim 8 months ago


Loading...