connect() to failed (99: Cannot assign requested address

Ruslan Ermilov ru at
Mon Jul 15 11:44:35 UTC 2013

On Sun, Jul 14, 2013 at 12:53:27AM +0200, Atul B. wrote:
> I dont think another nginx is already running as when I stopped my nginx 
> instance, i cannot see niginx running using the mentioned command...
> The log error that i am getting is when I try to run any php file in my 
> browser.
> However, for static html files, nginx is servig them fine

The error you see is when a local port range gets exhausted
for the (src=, dst= triple.

This is because there's no Apache listening on,
so nginx proxies request to itself in an endless loop.

More information about the nginx mailing list