linux open port 8080
Add a line in /etc/sysconfig/iptables [-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT]
Then service iptables restart, the following problem is reported
Solution:
Cause of the problem: Not familiar with Linux firewall related configuration;
Reference link:
The above is the detailed content of When linux firewall opens a port, ptables-restore: line 13 failed [failed]. For more information, please follow other related articles on the PHP Chinese website!