service deploy successfully but website unreachable.
vipul-tikait
HOBBYOP

12 days ago

service deploy successfully but website unreachable.

welcoming-grace

$10 Bounty

1 Replies

Railway
BOT

12 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 12 days ago


stewiezgaming-web
HOBBYTop 10% Contributor

4 days ago

"Deploy succeeded but unreachable" is almost always one of these (docs):

No public domain generated — a service doesn't get a URL automatically. Service → Settings → Networking → Generate Domain.

App listening on the wrong host/port. Your server must bind to 0.0.0.0 (not localhost/127.0.0.1) and listen on the PORT env var Railway injects. E.g. Node: app.listen(process.env.PORT || 3000, "0.0.0.0").

Target port mismatch — if the domain's target port doesn't match the port your app listens on, you get 502 "Application failed to respond." Edit the domain in Settings → Networking and pick the right port.

If you can share what the URL returns (502? 404? timeout?) and a snippet of your deploy logs showing the "listening on ..." line, it's easy to pin down which one this is.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...