Only 22 ports are enabled when loading the system. As a result, you can't access the website after installing Nginx+php+mysql.
iptables -L -n
Check the firewall settings and find that port 80 is not open
Since the Linux firewall is disabled by default. There are two ways, one is to turn off the firewall, and the other is to let the firewall open this port.
Turn off firewall naming:
service iptables stop (not recommended)
The steps to open port 8080 are as follows:
1. Modify /etc/sysconfig /iptables file, add the following line:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
Restart Iptables
service iptables restart
2. Restart the firewall. There are two ways to restart the firewall.
a) Take effect after reboot
Open: chkconfig iptables on
Close: chkconfig iptables off
b) Immediate effect, invalid after restart
Open: service iptables start
Close: service iptables stop
Open a range of ports 3000 to 5000
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3000:5000 -j ACCEPT
Preparation before installation 1. kail linux 2.0 download (multiple versions of ISO) Downl
Logging is very important for security. It records the various things that happen every day in the s
First, the installation package software Here are some necessary, I will attach the downlo
Problem Description Review Linux file system management today, mount a new hard disk on a L
RACK provides power source for TCP BBR
How to run the process in Linux
Linuxshell implements script to automatically clean up rman backup files
Ssh-remote login centos7070 port
How to view the run level in Linux system
Linux Weblogic related environment variable setting
Linux compiles the kernel and adds system calls
Windows 9 new activation method to solve piracy
Windows Vista set up broadband connection tutorial
Experts to check and deal with computer ARP spoofing methods
Using Email Accounts via POP on Win8 and WinRT
How to add WeChat friends? How to add friends to WeChat?
Win10's wonderful little problem handling methods summary
Win7 system notebook dual monitor sharing a picture tutorial
Let the Win8 system photo app display images in the computer