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.
11 Replies
astrid
PROTop 5% Contributor
a month 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
My environment variables have port 8080 set and it's redirecting to my domain, but the error persists.
astrid
PROTop 5% Contributor
a month ago
Check in the settings tab of the service

astrid
PROTop 5% Contributor
a month ago
Is it set to 8080?
astrid
PROTop 5% Contributor
a month ago
<:ThumbsUp:1111642017383059466>

