error 502 application failed to respond

juliocamposmota
HOBBY

14 days 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

14 days 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
HOBBY

14 days ago

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


fra
HOBBYTop 5% Contributor

14 days 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

14 days 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

13 days ago

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


juliocamposmota
HOBBY

13 days 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
HOBBYTop 5% Contributor

13 days ago

can you filter for errors in your logs?


juliocamposmota
HOBBY

13 days ago

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


fra
HOBBYTop 5% Contributor

13 days 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
HOBBYTop 5% Contributor

12 days ago

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


error 502 application failed to respond - Railway Help Station