Project is deployed but not accessible at public domain
akatora28
PROOP

a year ago

I've deployed my app on railway and the build succeeded and says it's running on port 3333, but after setting up a public domain to view the app I'm getting a 500 error

Solved

6 Replies

akatora28
PROOP

a year ago

2e22d024-e200-4932-9308-1b11e749a068


a year ago

port 3333 is an irregular port, Railway may not realize it's running on that port. Instead, can you change your app to pull from the PORT environment variable, defaulting to 8080?


a year ago

Or if port 3333 is required, default to 3333


akatora28
PROOP

a year ago

wait, I just figured it out, copied in env vars and forgot to set host to 0.0.0.0


a year ago

Great!


a year ago

!s


Status changed to Solved adam about 1 year ago


Loading...