does postgres work for public connection for free tier

week2
FREE

14 days ago

title says it all.

I'm just having trouble connecting from my local device, wondering if it's because railway doesn't allow it.

I am planning on making sure I can connect to it locally, migrate data, then add in GitHub stuff. but i can't get past step 1 :(

Solved$5 Bounty

13 Replies

Railway
BOT

14 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


week2
FREE

14 days ago

made it private because I feel like this is a dumb question to ask in public


14 days ago

Hey, you should be able to do that using the public url of your database.


week2
FREE

13 days ago

Whenever I do that, it says that connection to 5432 failed, due to timeout, when using production.up.railway.app

It also runs into the same issue when I use the proxy provided too.


week2

Whenever I do that, it says that connection to 5432 failed, due to timeout, when using production.up.railway.appIt also runs into the same issue when I use the proxy provided too.

13 days ago

Can you check if the Data tab of your Postgres service/database loads fine? It should look like this:

Attachments


week2
FREE

13 days ago

Yea, looks like that.

Just realized the database itself is connected to a mount that is set to delete soon.

Attachments


week2
FREE

13 days ago

forgot to put this

Attachments


week2

forgot to put this

13 days ago

Thanks for providing the screenshot, you should be able to get the public connection url of your Postgres database by clicking on Connect and then switch to Public Network in the newly opened modal.

Attachments


week2
FREE

13 days ago

Alright, I think this is a me issue and not a railway issue, since it seems that I dont have psql installed, which means I must have installed postgres wrong :(


week2
FREE

13 days ago

Solved the issue on my hand, I believe.


week2
FREE

13 days ago

Alright, I have my data backed up, but just checking on if the 'captivating-volume' mount disappears, will the data on the postgres server also go away?


week2

Alright, I have my data backed up, but just checking on if the 'captivating-volume' mount disappears, will the data on the postgres server also go away?

13 days ago

The volume shouldn't disappear randomly, technically you can't even delete it before deleting your postgres service. But if you do delete the volume, then yes, the data will be gone.


week2
FREE

13 days ago

approved that one, since i dont need help anymore. thanks tho!


Status changed to Solved brody 13 days ago


does postgres work for public connection for free tier - Railway Help Station