Quantcast
Channel: Connection refused while connecting to upstream - Server Fault
Viewing all articles
Browse latest Browse all 2

Connection refused while connecting to upstream

$
0
0

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: 71.249.131.121, server: localhost, request: "GET /charity/ajax/preload_project/ HTTP/1.1", upstream:"fastcgi://127.0.1.1:9000", host: "www.dailygiver.org", referrer:"http://www.dailygiver.org/charity/browse/"

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 127.0.0.1:9000 0.0.0.0:* LISTEN 31455/python


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>