404 not found nginx/1.24.0
tmha4
FREE
4 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?
1 Replies
chandrika
EMPLOYEE
4 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 • 4 months ago