502 bad gateway
abdulrehmanjr
PROOP

a month ago

Hey i have deployed the nextjs app on railway but it is showing me 502 bad gateway error . it never happened with any of my nextjs projects before can u please help me.

Solved$20 Bounty

3 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


Railway
BOT

a month ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway about 1 month ago


abdulrehmanjr
PROOP

a month ago

Hey, Thanks for your guide but i have deployed 2-3 projects and i am using same configurations , but only one project is affected by this issue.


Can you check if your public URL is mapped to the same port your app is listening on?


abdulrehmanjr
PROOP

a month ago

Its working not sure if this is the correct solution before i was only using the custom domain . but now i have also generetd therailway domain as well and now i can access my app on my custom domain as well


Status changed to Solved abdulrehmanjr about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...