R
Railway•16mo ago
Tonquin

Django backend fails to respond

When I click on the url for my django backend (I am using react frontend in a separate service) I get an application failed to respond error. Not sure why this is the case, the deployment logs don't seem to indicate anything is wrong. Deployment logs and applicated failed screen are in the attached images. Any help would be greatly appreciated! This is my start command: "startCommand": "python manage.py migrate && gunicorn -b 0.0.0.0 -p $PORT backend.wsgi"
Solution:
Set an environment variable on your service as PORT with the value 8000
Jump to solution
5 Replies
Percy
Percy•16mo ago
Project ID: N/A
Tonquin
TonquinOP•16mo ago
N/A
Solution
MantisInABox
MantisInABox•16mo ago
Set an environment variable on your service as PORT with the value 8000
MantisInABox
MantisInABox•16mo ago
It will redeploy and will work
Tonquin
TonquinOP•16mo ago
Okay thanks, trying that right now Amazing! Thanks so much 🙂
Want results from more Discord servers?
Add your server