Port 80 not open. Still gets 404 when curl
In addition to Matthew's comment suspecting internal nat redirect
-
iptables -vnL -t nat
ornft list ruleset ip
perhaps you could directly inspect port 80. These are some of the ways to do that:
ss -4tlnp -o state LISTENING '( sport = :80 )'
lsof -i:80
- do a verbose tcpdump
- do a verbose portscan with nmap
- or, be even more explicit when testing with curl, ie
curl -v http://localhost:80