postgre-sql-s3-backups
rdilruba
HOBBYOP

a year ago

Hey! I cannot connect to db with db url and get message;

postgres.railway.internal:5432 - no response

My database is also in railway and I copied the db url from postgres instance directly however it doesn't work

Solved

6 Replies

echohack
EMPLOYEE

a year ago

Heya!

Are you trying to connect from your local machine to a tcp proxy? Or are you connecting to another backend service?

If you haven't deployed Postgres on Railway before, check out this guide: https://docs.railway.com/guides/postgresql

I'll need some more diagnostics to help fix your issue. Thanks!


Status changed to Awaiting User Response Railway about 1 year ago


rdilruba
HOBBYOP

a year ago

No I have deployed postgres in project wonderful-renewal/production here in railway

then in my cron job i get postgres.railway.internal:5432 - no response to connect to that db

Attachments


Status changed to Awaiting Railway Response Railway about 1 year ago


rdilruba
HOBBYOP

a year ago

Do you need db url?

Attachments


echohack
EMPLOYEE

a year ago

Are you sure you're not trying to access your postgresql instance from a public tcp proxy? Your other service looks normal.

When you add a tcp proxy, you need to redeploy your service for the proxy to correctly connect. I went ahead and redeployed your postgresql which should solve the issue.


Status changed to Awaiting User Response Railway about 1 year ago


rdilruba
HOBBYOP

a year ago

>Are you sure you're not trying to access your postgresql instance from a public tcp proxy? Your other service looks normal.

I am deploying the Postgres S3 backups from your template https://railway.com/template/I4zGrH

everything is in railway but still not working

postgres.railway.internal:5432 - no response


Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

You need to deploy the template into the same project as your database that you want to backup.

https://docs.railway.com/overview/best-practices#deploying-related-services-into-the-same-project


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...