Nginx 0.8.4 Trying to bind on port 80 ?

Michael Shadle mike503 at gmail.com
Sun Jun 28 14:57:15 MSD 2009


lsof -i tcp:80lsof -i tcp:8080


On Sun, Jun 28, 2009 at 3:44 AM, olefebvre <nginx-forum at nginx.us> wrote:

> My configuration is:
> Apache listening on port 80, Iptables redirecting port 80 to port 8080,
> Nginx listening on port 8080.
>
> I have been using Nginx with the same configuration for several months
> (0.7.x and 0.8.x):
> --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
>
> And until latest version i had no issue starting Nginx, yet today after
> compiling 0.8.4 i got the following error:
>
> the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
> configuration file /usr/local/nginx/conf/nginx.conf test is successful
> Starting nginx: : bind() to 0.0.0.0:80 failed (98: Address already in use
>                                                          )
> : bind() to 0.0.0.0:80 failed (98: Address already in use)
> : bind() to 0.0.0.0:80 failed (98: Address already in use)
> : bind() to 0.0.0.0:80 failed (98: Address already in use)
> : bind() to 0.0.0.0:80 failed (98: Address already in use)
> : still could not bind()
> nginx.
>
> Any idea of what is going wrong ?
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,3498,3498#msg-3498
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090628/b814cb8e/attachment.html>


More information about the nginx mailing list