PostgreSQL public URL not connecting
alecapra96
HOBBYOP

a month ago

Hi Railway support,

I can’t connect to my PostgreSQL database using the public URL.

Public URL:

postgresql://postgis_admin:@crossover.proxy.rlwy.net:51727/postgis_db

The port is reachable from my machine:

TcpTestSucceeded: True

But PostgreSQL connection fails with:

server closed the connection unexpectedly

Can you check if the public TCP proxy crossover.proxy.rlwy.net:51727 is working and if this is still the correct public endpoint?

Thanks.

Solved

1 Replies

Railway
BOT

a month ago

Your PostGIS service shows as running, but this "server closed the connection unexpectedly" error with a reachable port is a known pattern that can occur after internal networking changes. Redeploying the database service from its service settings should resolve the connection issue.


Status changed to Awaiting User Response Railway about 1 month ago


Railway
BOT

a month ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 27 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...