Re: bind failed

2015-12-01 Thread Maxim Dounin
isten 192.168.10.10:8181 > configtest shows fine but reload gives "bind failed" in the error log. > Is this normal? Short answer: Yes, if you are using Linux. Long answer: Linux doesn't allow listen sockets on INADDR_ANY and an IP address on the same port to coexist, due to "sec

bind failed

2015-12-01 Thread Frank Liu
Hi, I was doing some tests today and have created a single test virtual host with listen 8181; and nginx runs fine (1.9.7). Now if I change the listen to only one interface ip: listen 192.168.10.10:8181 configtest shows fine but reload gives "bind failed" in the error log. Is this norma