could not connect to server: Connection timed out

Anonymous
TRIAL

10 months ago

Hello,

I am unable to have my application run on the browser after changing the setting to use Postgres. while checking on the console to isolate the issue, I am receiving the following:

psql: could not connect to server: Connection timed out

Is the server running on host "junction.proxy.rlwy.net" (35.213.147.91) and accepting

TCP/IP connections on port 37580?

Can you please assist ?

Thanks, Freddy

Solved

7 Replies

10 months ago

Are you getting this error when running your application locally or on Railway?


Anonymous
TRIAL

10 months ago

Locally, from my cloud server command line. I used Railway variable data and public networking to set my app's database (postgres) configuration.


10 months ago

Locally and Cloud server are two very different things.

Either way, it's very possible you are behind some firewall, I can confirm your database is publicly accessible.


Anonymous
TRIAL

10 months ago

In fact, it's cloud server. I meant locally, because I own it and it's local in my head.

In case of firewall, any alternative to that ?

I am attaching few snapshots for more reference

Attachments


Anonymous
TRIAL

10 months ago

another

Attachments


10 months ago

I'm sorry but this isn't something we can help with because the issue is not on our side.


Anonymous
TRIAL

10 months ago

ok


Status changed to Solved brody 10 months ago


could not connect to server: Connection timed out - Railway Help Station