Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a Django website with nginx via fastcgi running on a TCP port 9000 on localhost. Everything appears to work correctly, but the error log is filled with lines like these:

2012/11/19 14:05:07 [error] 21849#0: *2990 connect() failed (111: Connection refused) while connecting to upstream, client:, server: localhost, request: "GET /charity/ajax/preload_project/ HTTP/1.1", upstream: "fastcgi://", host: "", referrer: ""

The strange part is it still seems to serve the request just fine. Netstat confirms that the fastcgi process is running and listening as expected:

tcp 0 0* LISTEN 31455/python

share|improve this question
up vote 4 down vote accepted is not the same as

share|improve this answer
Oh duh. I looked at it a bunch of times and never noticed that it's 1.1, not 0.1. Apparently the hosts file has an entry for as a workaround for a bug:…. Removing that entry from hosts resolved the issue. – Vinay Pai Nov 19 '12 at 20:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.