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

a month 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

a month ago

1458935771863060700


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

a month ago

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


hyusband
HOBBYOP

a month ago

1458936981311721500


Check in the settings tab of the service

1458937564160328000


Is it set to 8080?


hyusband
HOBBYOP

a month ago

omfg


hyusband
HOBBYOP

a month ago

Thanks, my domain was sending to 4321


<:ThumbsUp:1111642017383059466>


hyusband
HOBBYOP

a month ago

I already fixed it


hyusband
HOBBYOP

a month ago


Loading...