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

Atul Bansal oceanofweb at gmail.com
Sat Jul 13 22:48:28 UTC 2013


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

Pls help


On Sun, Jul 14, 2013 at 4:09 AM, Sajan Parikh <sajan at noppix.com> wrote:

>  No issue, as you can see from that output there is already an nginx
> process listening on port 80, which means nothing else (even another nginx)
> can use port 80.
>
> You need to kill that instance of nginx, which will clear port 80.  Then
> you can start a new instance on port 80.
>
>
> Sajan Parikh
> *Owner, Noppix LLC*
>
> e: sajan at noppix.com
> o: (563) 726-0371
> c: (563) 447-0822
>
> [image: Noppix LLC Logo]
> On 07/13/2013 05:27 PM, Atul Bansal wrote:
>
> Thanks for stopping-by.
> mailed you in seperate email. Pls see
>
>
> On Sun, Jul 14, 2013 at 3:42 AM, Sajan Parikh <sajan at noppix.com> wrote:
>
>>  You most likely already have something running on port 80.  Perhaps
>> another instance of nginx or Apache or something.
>>
>> Run
>>
>> netstat -plunt and show us the output.
>>
>> Sajan Parikh
>> *Owner, Noppix LLC*
>>
>> e: sajan at noppix.com
>> o: (563) 726-0371
>> c: (563) 447-0822
>>
>> [image: Noppix LLC Logo]
>>  On 07/13/2013 04:59 PM, Atul Bansal wrote:
>>
>>  Hi
>>
>>  I just installed Nginx on my new VPS on centOS.
>> But while accessing the phpinfo.php, I am getting belwo exception
>>
>>  " connect() to 127.0.0.1:80 failed (99: Cannot assign requested
>> address) while connecting to upstream, client: 127.0.0.1,"
>>
>>  Can anyone pls see to it
>>
>>  --
>>
>>  Thanks'
>>  Atul Bansal
>> TechOfWeb.com - Android Rooting
>> OceanOfWeb.com - Funny News
>> WordpressThemeIt.com <http://wordpressthemeit.com/> - Best Wordpress
>> Themes
>>  http://twitter.com/techofweb <http://www.twitter.com/techofweb>
>>  http://facebook.com/oceanofweb
>>
>>
>>  _______________________________________________
>> nginx mailing listnginx at nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx
>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
>
>  --
>
>  Thanks'
>  Atul Bansal
> TechOfWeb.com <http://www.techofweb.com/> - Android Rooting
> OceanOfWeb.com <http://www.oceanfweb.com/> - Funny News
> WordpressThemeIt.com <http://wordpressthemeit.com/> - Best Wordpress
> Themes
>  http://twitter.com/techofweb <http://www.twitter.com/techofweb>
>  http://facebook.com/oceanofweb
>
>
> _______________________________________________
> nginx mailing listnginx at nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 

Thanks'
Atul Bansal
TechOfWeb.com <http://www.techofweb.com/> - Android Rooting
OceanOfWeb.com <http://www.oceanfweb.com/> - Funny News
WordpressThemeIt.com <http://wordpressthemeit.com/> - Best Wordpress Themes
http://twitter.com/techofweb <http://www.twitter.com/techofweb>
http://facebook.com/oceanofweb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130714/f1048fe5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewNoppixEmailLogo.png
Type: image/png
Size: 7312 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130714/f1048fe5/attachment-0001.png>


More information about the nginx mailing list