error 502 application failed to respond
juliocamposmota
HOBBYOP

3 months ago

After the successfully deploy (service + database), my app is returning 502 (lolca is fine).

What more can i share to some one help me?

$10 Bounty

10 Replies

Railway
BOT

3 months 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!


juliocamposmota
HOBBYOP

3 months ago

sorry, but none of these links helped me solve my problem.


fra
HOBBY

3 months ago

Can you share some logs? Usually a fix for this error is to check if the exposed port is the same used by railway, which port uses your app? Can you try changing it to 8080?


Anonymous
HOBBY

3 months ago

there is probably some error in your app, can you share more logs?


juliocamposmota

sorry, but none of these links helped me solve my problem.

divyanshgawri
HOBBY

3 months ago

same here bro everything went smooth with no error but nothing is coming up


juliocamposmota
HOBBYOP

3 months ago

Sharing my logs with you guys.

My app is using port 3000 just like the public networking.

I didnt try to change to 8080. Because i guess port 3000 should work fine.


fra
HOBBY

3 months ago

can you filter for errors in your logs?


juliocamposmota
HOBBYOP

3 months ago

I just changed my app and networking port to 8080 and worked.


fra
HOBBY

3 months ago

nice, in theory it should work with any port, the important is that all the exposed port should match the port set in railway. would you mind marking the reply as solution? thank you


juliocamposmota

I just changed my app and networking port to 8080 and worked.

fra
HOBBY

3 months ago

hey, would you mind marking the thread as solved? thanks


Loading...