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
6 Replies
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
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