Hello guys and girls,
I am getting an error 1078#0 while trying to get my website up and going. Let me give you a chronology of events plus an error log:
I first brought Putty up and went to access my server. I got the Django “It Worked!” message.
After that I went to upgrade my Django and it updated to 1.11. i ran, in the Putty command, “service gunicorn restart”.
Got 502 Bad Gateway
I unistalled Django and was back to version 1.6.1. Refreshed. “Internal Server Error”
So i “pip install django==1.9” and checked version to ensure i was running Django 1.9. “service gunicorn restart”. Restarted. Refreshed. 502 Bad Gateway Error nginx/1.4.6 (Ubuntu).
Here are the errors I am getting when I run “tail -f /var/log/nginx/error.log”: [error] 1078#0: *263 connect() failed (111: Connection refused) while connecting to upstream, client: XX.XXX.XXX.XX, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:9000/”, host: “XXX.XXX.X.XX”
Can someone please tell me what is going on here and why? It is very frustrating and getting this website up is mission critical as I have just filed my company and am ready to begin operation.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!