when I use in my nginx.conf
server {
listen 8080;
I can access my index page , but whenever I changed it tp
server {
listen 80
then I cannot access it..
same issue with port 443 , I have to use port 8443 to get it running fine..
It's weird as I checked
sudo lsof -i -P | grep -i nginx
Password:
nginx 35231 root 12u IPv4 0xe906ac28eb68a51b 0t0 TCP *:80 (LISTEN)
nginx 35231 root 13u IPv4 0xe906ac28ee03851b 0t0 TCP *:8443 (LISTEN)
nginx 35231 root 14u IPv4 0xe906ac28eefe9033 0t0 TCP *:8080 (LISTEN)
nginx 35232 yves 12u IPv4 0xe906ac28eb68a51b 0t0 TCP *:80 (LISTEN)
nginx 35232 yves 13u IPv4 0xe906ac28ee03851b 0t0 TCP *:8443 (LISTEN)
nginx 35232 yves 14u IPv4 0xe906ac28eefe9033 0t0 TCP *:8080 (LISTEN)