Welcome! Log In Create A New Profile

Advanced

Re: Nginx 0.8.4 Trying to bind on port 80 ?

June 28, 2009 06:57AM
lsof -i tcp:80lsof -i tcp:8080


On Sun, Jun 28, 2009 at 3:44 AM, olefebvre 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
>
>
>
Subject Author Posted

Nginx 0.8.4 Trying to bind on port 80 ?

olefebvre June 28, 2009 06:44AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

mike June 28, 2009 06:57AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

olefebvre June 28, 2009 10:56AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

mike June 28, 2009 01:38PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

olefebvre June 28, 2009 04:49PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

mike June 28, 2009 05:53PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

Jim Ohlstein June 28, 2009 08:21PM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

olefebvre June 29, 2009 02:47AM

Re: Nginx 0.8.4 Trying to bind on port 80 ?

plop March 04, 2013 06:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 274
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready