Nginx not responding to port 80 on public IP address

Adam adam at
Thu Feb 4 07:40:35 UTC 2021

Hi all,

nginx is running and listening on port 80:
        tcp        0      0    *
LISTEN      0          42297      3576/nginx: master
        tcp6       0      0 :::80                   :::*
 LISTEN      0          42298      3576/nginx: master

The server responds fine to requests on port 443, serving traffic exactly
as expected:
        tcp        0      0   *
LISTEN      0          42299      3576/nginx: master

However, it will not respond to traffic on port 80. I have included this
line in my server block to listen to port 80:
        listen 80 default_server;
        listen [::]:80 default_server;

My full config can be seen at

I have been testing by sshing to an external machine and trying telnet 80 - which times out, compared to telnet 443,
which connects immediately.

The port is open on my router to allow port 80 traffic. This machine is
hosted on my home network, serving personal traffic (services which I use,
but not for general internet use). It does respond to port 80 internally,
if I use the internal ip address (

I've kind of run out of ideas, so thought I would post here.

Thanks in advance for any support.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list