3 months ago
Attachments
10 Replies
3 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 3 months ago
3 months ago
You made this public but didnt explain how to fix it!
3 months ago
Hey there!
This error usually means the Railway proxy can't communicate with your application.
Here are the quickest ways to fix it:
-
Check your Port ConfigurationRailway automatically assigns a port. Make sure your code is listening on the host 0.0.0.0 and using the environment variable PORT rather than a hardcoded number (like 3000 or 8080).
-
Review the Deploy Logs Click on the deploy logs link shown in your screenshot. Look for any crash messages, missing environment variables, or syntax errors that might be stopping your application from fully starting up.
-
Verify Healthcheck Settings If you have a custom healthcheck path configured in your railway.json or service settings, ensure your application actually has that route open and returns a 200 OK status.
geaatechllc
You made this public but didnt explain how to fix it!
3 months ago
If there is an extra error you can share to make the assistance more direct you can share
mayori
is there any error on your deployment logs?
3 months ago
no error in deploy log
mayori
is there any error on your deployment logs?
3 months ago
No
geaatechllc
No
3 months ago
that's mean the request didn't even reach the service, try solution given by dev-charles254, because it is probably the generated domain is not set to the right port or your app is not listening to host 0.0.0.0
3 months ago
this seems to be happening multiple times per day! What is going on?
3 months ago
So sometimes it works fine then it stops working again?
3 months ago
This could be a mismatch between the port of the application to the port of the domain you created as was written above me but i'll be a bit more specific -
- Notice when you request a railway domain, you can also define the port the domain will listen too, a mismatch on that causes the problem you showed.
The domain you should choose depends on the service you're trying to activate offcourse. Most services has a default domain.
Minio usually goes for 9000/9001, frontends usually 8080, backend usually 8000 and if you created a vite project it could be 5173 too.
My best advise is to ask cursor/claude to tell you what port should the domain listen to and adjust it on settings of pod on railway.