Railway forced my project to execute in localhost:8080
hyusband
HOBBYOP

4 months ago

Hello, my project is being forced to start on localhost:8080, which means that when I try to access my domain, I get a 502 bad gateway error.

$10 Bounty

11 Replies

hyusband
HOBBYOP

4 months ago

1458935771863060693


4 months ago

Railway sets the PORT environment variable for you

As it's being set to 8080, you should update your custom domain to use 8080


hyusband
HOBBYOP

4 months ago

My environment variables have port 8080 set and it's redirecting to my domain, but the error persists.


hyusband
HOBBYOP

4 months ago

1458936981311721533


4 months ago

Check in the settings tab of the service

1458937564160327953


4 months ago

Is it set to 8080?


hyusband
HOBBYOP

4 months ago

omfg


hyusband
HOBBYOP

4 months ago

Thanks, my domain was sending to 4321


4 months ago

<:ThumbsUp:1111642017383059466>


hyusband
HOBBYOP

4 months ago

I already fixed it


hyusband
HOBBYOP

4 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...