Connection refused problem

Payam Chychi pchychi at
Wed Jul 28 07:23:07 MSD 2010

ur upstream is refusing the connection as described in the error log.
have you checked ur upstream logs? could be multiple things, starting
from server configurations to webserver config. check to make sure ur
not hitting ur max connection on the upstream httpd, paste an output
of 'dmesg', if ur running iptables or any other firewall makes sure to
check the logs and rules and check the system to confirm that u are
not running out of sockets to be used by the upstream httpd as well as
system file descriptors "ulimit -a"

if u want you can paste an output and i can help troubleshoot
Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer

On Tue, Jul 27, 2010 at 8:14 PM, wangbin579 <nginx-forum at> wrote:
> all servers are running and nginx has the following error log every once
> in a while.
> 2010/07/27 08:37:57 [error] 1948#0: *429632943 connect() failed (111:
> Connection refused) while connecting to upstream, client:
>, server:, request: "GET xxxx HTTP/1.1",
> upstream: "server://", host: "",
> referrer: "xxx"
> Is the listen queue full ?what causes the above problem?
> thx
> Posted at Nginx Forum:,113710,113710#msg-113710
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list