After running ss -tlpn
, I discovered that Apache2 is listening on publicIP:8080
and publicIP:8443
.
However, all web server requests are routed through Nginx. So why does Apache2 need to be accessible via the public IP?
I would have expected apache2 to listen on 127.0.0.1:8080 and 127.0.0.1:8443