So, I am getting the error as described below.

It is saying that the connection is refused. But is not telling me why it's 
refusing the connection. Based on the information I have seen in my Google 
searches, it seems like it's telling me that the host associated with the 
request is not in the list of allowed hosts. Is that what it's telling me? 
Or are there other possibilities?

I have checked to make sure that I have the allowed host settings correctly 
set in ```local_settings.py```. Any ideas as to where I should go from here?

If I change the upstream server to point to a running instance of the 
Django runserver for the project, I am able to browse the actual site. It's 
just the upstream gunicorn server that doesn't work. But obviously I can't 
use the run server in a production environment.

Any ideas or advice?

2015/11/16 18:10:30 [error] 21888#0: *1 connect() to 
unix:/home/ubuntu/mezzanine/example_com/gunicorn.sock failed (111: 
Connection refused) while connecting to upstream, client: {clientip}, 
server: subdomain.example.com, request: "GET / HTTP/1.1", upstream: 
"http://unix:/home/ubuntu/mezzanine/example_com/gunicorn.sock:/";, host: 
"subdomain.example.com"


-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to