502 Bad Gateway error
jkumarp
FREEOP
a month ago
Getting 502 Bad Gateway error on by backend code even though deployment is successful. my backend is Express.js and frontend is React + vite
2 Replies
Railway
BOT
a month ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
fra
HOBBY
a month ago
can you check which port is exposed in your app? railway uses the default port 8080, if your app is exposed to a different port you need change the port and use 8080 or you need to update the port in Settings => Public Network => Edit and use the port you want