404 not found nginx/1.24.0
tmha4
FREEOP

8 months ago

Hi,

I have a web project that I deployed on Railway, but I’m facing an issue when trying to display a .ejs page. When I click on it, I get the error:

“404 NOT FOUND - Nginx/1.24.0”

I don’t know where the problem is.

The website works 100% fine locally, but this issue happens after deployment.

Is there a solution?

Solved

1 Replies

chandrika
EMPLOYEE

8 months ago

Could you please ensure that their application is correctly configured to listen on the host 0.0.0.0 and the port specified by the PORT environment variable provided by Railway?

Two of our docs pages that might help are the Application Failed to Respond errors and Deploy an Express App guide


Status changed to Awaiting User Response Railway 8 months ago


Railway
BOT

4 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 4 months ago


Loading...