<div dir="ltr">I dont think another nginx is already running as when I stopped my nginx instance, i cannot see niginx running using the mentioned command...<div style>The log error that i am getting is when I try to run any php file in my browser.</div>
<div style>However, for static html files, nginx is servig them fine</div><div style><br></div><div style>Pls help</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 14, 2013 at 4:09 AM, Sajan Parikh <span dir="ltr"><<a href="mailto:sajan@noppix.com" target="_blank">sajan@noppix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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.<br>
<br>
You need to kill that instance of nginx, which will clear port
80. Then you can start a new instance on port 80.<div class="im"><br>
<br>
<div>Sajan Parikh<br>
<i>Owner, Noppix LLC</i><br>
<br>
e: <a href="mailto:sajan@noppix.com" target="_blank">sajan@noppix.com</a><br>
o: <a href="tel:%28563%29%20726-0371" value="+15637260371" target="_blank">(563) 726-0371</a><br>
c: <a href="tel:%28563%29%20447-0822" value="+15634470822" target="_blank">(563) 447-0822</a><br>
<br>
<img alt="Noppix LLC Logo" src="cid:part1.03050903.08000007@noppix.com"></div></div><div><div class="h5">
On 07/13/2013 05:27 PM, Atul Bansal wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Thanks for stopping-by.
<div>mailed you in seperate email. Pls see</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Jul 14, 2013 at 3:42 AM, Sajan
Parikh <span dir="ltr"><<a href="mailto:sajan@noppix.com" target="_blank">sajan@noppix.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>You most likely already have something running on
port 80. Perhaps another instance of nginx or Apache or
something.<br>
<br>
Run <br>
<br>
netstat -plunt and show us the output.<br>
<br>
<div>Sajan Parikh<br>
<i>Owner, Noppix LLC</i><br>
<br>
e: <a href="mailto:sajan@noppix.com" target="_blank">sajan@noppix.com</a><br>
o: <a href="tel:%28563%29%20726-0371" value="+15637260371" target="_blank">(563) 726-0371</a><br>
c: <a href="tel:%28563%29%20447-0822" value="+15634470822" target="_blank">(563) 447-0822</a><br>
<br>
<img alt="Noppix LLC Logo"></div>
<div>
<div> On 07/13/2013 04:59 PM, Atul Bansal
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi
<div><br>
</div>
<div>I just installed Nginx on my new VPS on
centOS.</div>
<div>But while accessing the phpinfo.php, I am
getting belwo exception</div>
<div><br>
</div>
<div>" connect() to <a href="http://127.0.0.1:80" target="_blank">127.0.0.1:80</a>
failed (99: Cannot assign requested address)
while connecting to upstream, client:
127.0.0.1,"</div>
<div><br>
</div>
<div>Can anyone pls see to it<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>
<div><br>
</div>
<div>Thanks'<br>
</div>
<div>Atul Bansal</div>
<div><a href="http://TechOfWeb.com" target="_blank">TechOfWeb.com</a> -
Android Rooting<br>
<a href="http://OceanOfWeb.com" target="_blank">OceanOfWeb.com</a> -
Funny News
<div><a href="http://wordpressthemeit.com/" target="_blank">WordpressThemeIt.com</a> -
Best Wordpress Themes<br>
</div>
<div><a href="http://www.twitter.com/techofweb" target="_blank">http://twitter.com/techofweb</a></div>
</div>
</div>
<div><a href="http://facebook.com/oceanofweb" target="_blank">http://facebook.com/oceanofweb</a></div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
nginx mailing list
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>
<div><br>
</div>
<div>Thanks'<br>
</div>
<div>Atul Bansal</div>
<div><a href="http://www.techofweb.com/" target="_blank">TechOfWeb.com</a> -
Android Rooting<br>
<a href="http://www.oceanfweb.com/" target="_blank">OceanOfWeb.com</a> - Funny News
<div>
<a href="http://wordpressthemeit.com/" target="_blank">WordpressThemeIt.com</a> -
Best Wordpress Themes<br>
</div>
<div><a href="http://www.twitter.com/techofweb" target="_blank">http://twitter.com/techofweb</a></div>
</div>
</div>
<div><a href="http://facebook.com/oceanofweb" target="_blank">http://facebook.com/oceanofweb</a></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
nginx mailing list
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div><br></div>
<div>Thanks'<br></div><div>Atul Bansal</div><div><a href="http://www.techofweb.com/" target="_blank">TechOfWeb.com</a> - Android Rooting<br><a href="http://www.oceanfweb.com/" target="_blank">OceanOfWeb.com</a> - Funny News<div>
<a href="http://wordpressthemeit.com/" target="_blank">WordpressThemeIt.com</a> - Best Wordpress Themes<br></div><div><a href="http://www.twitter.com/techofweb" target="_blank">http://twitter.com/techofweb</a></div></div>
</div><div><a href="http://facebook.com/oceanofweb" target="_blank">http://facebook.com/oceanofweb</a></div></div>
</div>