custom ip address on port 80 not listening

Francis Daly francis at daoine.org
Sat Apr 8 08:37:24 UTC 2017


On Sat, Apr 08, 2017 at 08:46:57AM +0100, Musta Fa wrote:

Hi there,

> but i can not make it listen on custom_ip:80
> port 80 is always 0.0.0.0:80
> 
> cd /etc/nginx
> grep listen -r *
> only "listen custom_ip:80;"
> 
> why is that??

Any server{} without an explicit "listen" has an implicit "listen *:80"
when you run as root.

Does

  nginx -T | grep -n 'server\|listen'

show any obvious candidates?

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list