Solution to the problem that Nginx cannot be accessed outside the site

WBOY
Release: 2016-08-08 09:21:27
Original
1111 people have browsed it

1. Nginx installation method

http://nginx.org/en/docs/install.html

2. The installation is normal but cannot be accessed

After installing nginx on machine A, go to machine B Test The Nginx welcome interface cannot appear.

3. Solution

Try to use the following method to open port 80.

iptables -I INPUT -p tcp --dport 80 -j ACCEPT

The above introduces the solution to the problem that Nginx cannot be accessed outside the site, 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!