Nginx is started on Mac but cannot be accessed

1.sudo lsof-I: 80

COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
nginx      63   root    6u  IPv4 0x6dff795b4d94a1f1      0t0  TCP *:http (LISTEN)
nginx     750 nobody    6u  IPv4 0x6dff795b4d94a1f1      0t0  TCP *:http (LISTEN)

2.ps-ef | grep nginx

 0    63     1   0 10:48 ??         0:00.02 nginx: master process /usr/local/opt/nginx/bin/nginx -g daemon off;  
   -2   750    63   0 10:53 ??         0:00.00 nginx: worker process 

3. Browsers visit
clipboard.png

nginx is started by, sudo nginx installed in brew. I also changed the port of Apache to 8088.
NGINX log I came to see that it has been started, so why can"t I see it in the browser? how can I put NGINX on port 80 and be accessed by me?

Mar.31,2021

try using the curl command to access localost. It feels like a problem caused by your browser setting up a proxy.

Menu