a month ago
Application failed to respond
Request ID:
mRLKtD2_TtWJ4Nq-m3z_FQ
4 Replies
a month 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!
a month ago
Make Sure Your App Binds to process.env.PORT
Railway expects your server to listen on the port it gives you via environment variable PORT.
Node.js Example:
const PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});
Django Example:
Use this in Railway environment variables:
PORT=8000
Then run:
python manage.py runserver 0.0.0.0:$PORT
Or set start command to:
gunicorn your_project.wsgi:application --bind 0.0.0.0:$PORT
127.0.0.1 or default localhost will not
work โ must use 0.0.0.0.
a month ago
& redeploy
a month ago
Please provide more context for your issue. What type of services are deployed, and what exactly is the issue