I encountered a strange problem today. Nginx is configured and started normally, and uWSGI is configured and started normally. It is normal to open the browser on this machine and access the local IP: 80, but other machines in the same LAN will prompt when accessing through IP: 80. unable to connect. It really bothered me for a while.
After investigation, it was found that another service occupied port 80 after it was started. However, when accessing this machine through local loopback, port 80 was not actually used.
So either change the port in the Nginx configuration or stop the service occupying port 80 to solve the problem.
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });The above introduces the problem of normal access to Nginx local machine 80 but inaccessible to other machines in the same LAN, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.