connect() to 127.0.0.1:80 failed (99: Cannot assign requested address
    Maxim Dounin 
    mdounin at mdounin.ru
       
    Mon Jul 22 16:51:40 UTC 2013
    
    
  
Hello!
On Mon, Jul 22, 2013 at 12:21:44PM -0400, brainchill wrote:
> Everyone is telling this guy that he's clueless but the bottom line is the
> very first guy that answered the question nailed it ... 
> 
> "The message suggests you've either run out of local sockets/ports,
> or connections are administratively prohibited. You may try unix
> sockets to see if it helps."
> 
> Try setting 
> kernel option  net.ipv4.ip_local_port_range to 1024 65000
> 
> The default setting is 32768 61000
Not really.  The real problem seems to be outlined by Ruslan - 
due to no Apache running nginx is essentially configured to proxy 
to itself, and adding more sockets won't help - they will be 
exhaused as well due to the proxy loop.
-- 
Maxim Dounin
http://nginx.org/en/donation.html
    
    
More information about the nginx
mailing list