[Fixed]-Django nginx + uwsgi [error] : *1 connect() failed (111: Connection refused) while connecting to upstream

1👍

Restarting nginx and intiating uwsgi by uwsgi --ini mysite_uwsgi.ini after adding unix:///tmp/project.sock to stream section of nginx configuration and socket = /tmp/project.sock to uwsgi.ini file solved the problem for me.

Leave a comment