Skip to content
502 on a Express server can't find solution
rpi10
OP

2 years ago

Hey,

https://github.com/rpi10/OpenChatV2/

I'm trying to deploy the above code... It works very well on Render, but for some reasons, it's getting stuck with Railway with a 502 bad gateway. I already tried the solution on the website but it didn't change anything.

Solved

1 Reply

2 years ago

Hello,

You had your target port set incorrectly, I've fixed that for you.

For the future, please see our docs -

https://docs.railway.com/reference/errors/application-failed-to-respond#target-port-set-to-the-incorrect-value

Best,

Brody


Status changed to Awaiting User Response Railway • almost 2 years ago


Status changed to Solved brody • almost 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...