Welcome! Log In Create A New Profile

Advanced

Nginx 0.8.4 Trying to bind on port 80 ?

June 28, 2009 06:44AM
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: [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use )
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
nginx.

Any idea of what is going wrong ?
SubjectAuthorPosted

Nginx 0.8.4 Trying to bind on port 80 ?

olefebvreJune 28, 2009 06:44AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

mikeJune 28, 2009 06:57AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

olefebvreJune 28, 2009 10:56AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

mikeJune 28, 2009 01:38PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

olefebvreJune 28, 2009 04:49PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

mikeJune 28, 2009 05:53PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

Jim OhlsteinJune 28, 2009 08:21PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

olefebvreJune 29, 2009 02:47AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

plopMarch 04, 2013 06:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 5 on December 17, 2014
Record Number of Guests: 180 on December 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready