Welcome! Log In Create A New Profile

Advanced

SOLVED Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

All files from this thread

File Name File Size   Posted by Date  
smime.p7s 6 KB open | download GreenGecko 01/22/2013 Read message
January 23, 2013 11:05AM
SOLVED

Thank you Igor, you solved the issue for me.

I had one non-standard entry in my sites-available:

This is how I found it:

#for i in `ls`; do echo $i; grep listen $i; done

site1
listen 66.113.100.140:80;
site2
listen 66.113.100.140:80;
site3
listen 66.113.100.140:80;
site4
listen 66.113.100.140:80;
site5
listen 66.113.100.140:80;
site6
listen 66.113.100.140:80;
site7
site8
listen 66.113.100.140:80;
site9
listen 66.113.100.140:80;
site10
listen 66.113.100.140:80;

everybody has a 'listen' directive except the entry for 'site7'
#netstat -pant |grep nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 19915/nginx
tcp 0 0 66.113.100.140:81 0.0.0.0:* LISTEN 19915/nginx

#rm site7
#/etc/init.d/nginx restart
netstat -pant |grep nginx
tcp 0 0 66.113.100.140:80 0.0.0.0:* LISTEN 21884/nginx
tcp 0 0 66.113.100.140:81 0.0.0.0:* LISTEN 21884/nginx


SOLVED!

Thank you for your help!
Subject Author Posted

why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

middleforkgis January 22, 2013 05:15PM

RE: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

Lukas Tribus January 22, 2013 07:28PM

Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

middleforkgis January 22, 2013 09:43PM

Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

middleforkgis January 22, 2013 09:59PM

Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on? Attachments

GreenGecko January 22, 2013 10:08PM

Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

middleforkgis January 22, 2013 11:19PM

Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

Igor Sysoev January 23, 2013 12:10AM

SOLVED Re: why is nginx binding to 0.0.0.0:80 when I specify explicit IPs to listen on?

middleforkgis January 23, 2013 11:05AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
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