lsof -i tcp:80<div>lsof -i tcp:8080</div><div><br><br><div class="gmail_quote">On Sun, Jun 28, 2009 at 3:44 AM, olefebvre <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">My configuration is:<br>
Apache listening on port 80, Iptables redirecting port 80 to port 8080, Nginx listening on port 8080.<br>
<br>
I have been using Nginx with the same configuration for several months (0.7.x and 0.8.x):<br>
--conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/dev/shm/client --http-proxy-temp-path=/dev/shm/proxy --http-fastcgi-temp-path=/dev/shm/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-http_secure_link_module<br>

<br>
And until latest version i had no issue starting Nginx, yet today after compiling 0.8.4 i got the following error:<br>
<br>
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok<br>
configuration file /usr/local/nginx/conf/nginx.conf test is successful<br>
Starting nginx: : bind() to <a href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a> failed (98: Address already in use                                                          )<br>
: bind() to <a href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a> failed (98: Address already in use)<br>
: bind() to <a href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a> failed (98: Address already in use)<br>
: bind() to <a href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a> failed (98: Address already in use)<br>
: bind() to <a href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a> failed (98: Address already in use)<br>
: still could not bind()<br>
nginx.<br>
<br>
Any idea of what is going wrong ?<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,3498,3498#msg-3498" target="_blank">http://forum.nginx.org/read.php?2,3498,3498#msg-3498</a><br>
<br>
<br>
</blockquote></div><br></div>