Home > Backend Development > PHP Tutorial > The problem that Nginx local machine 80 can access normally but other machines in the same LAN cannot access it

The problem that Nginx local machine 80 can access normally but other machines in the same LAN cannot access it

WBOY
Release: 2016-07-29 08:51:20
Original
3196 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template