Postgres TCP proxy endpoint unreachable — connections time out on proxy port
tommyvahabov
PROOP

a month ago

Our production Postgres became unreachable today. It was working fine earlier this session, then connections started timing out with no config change on our side.

Diagnostics from our machine:

  • DNS resolves: trolley.proxy.rlwy.net
  • TCP :443 to that host connects
  • TCP :32406 (the Postgres proxy port) times out ❌
  • ICMP to the host is dropped (100% packet loss)
  • General internet is fine (other hosts connect normally)

So the host is up but the database TCP proxy port isn't accepting connections. Did the proxy port rotate, or is the proxy/DB instance down? Please advise the current public endpoint or restore the proxy. This is blocking production support operations.

Solved

1 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


Status changed to Solved tommyvahabov 30 days ago


dizzydes90
EMPLOYEE

a month ago

Hi — good news first: your Postgres instance is healthy and online. On our side I can see it actively serving connections over your project's private network right now (steady traffic, no drops), so there's no data loss or database outage here.

The problem is isolated to the public TCP proxy mapping for the service — external connections aren't being forwarded to the container at all, even though the database itself is fine. Your diagnostics line up exactly: the proxy frontend answers on :443, but the assigned port times out, and the dropped ICMP is normal for our infrastructure (not a signal). We most often see this when a service's proxy registration goes stale after a host event. I also checked our status — there's no active platform incident overlapping when this started, so this is specific to your service's proxy registration rather than a regional outage.

Please try this first: redeploy the Postgres service — open the service → Deployments → ⋮ on the latest deployment → Redeploy. That re-registers the TCP proxy and usually restores external connectivity within a minute. Your endpoint shouldn't change; you can confirm the current domain/port under Settings → Networking → TCP Proxy.

If it's still timing out after the redeploy, reply here and we'll investigate the host directly.

One note for resilience: since your app and database are in the same project, your services should connect over the private *.railway.internal URL for production — that path has stayed fully healthy throughout, so it keeps you off the public proxy entirely.


Status changed to Awaiting User Response Railway 30 days ago


Railway
BOT

23 days 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 23 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...