Home  >  Article  >  Operation and Maintenance  >  When linux firewall opens a port, ptables-restore: line 13 failed [failed]

When linux firewall opens a port, ptables-restore: line 13 failed [failed]

PHP中文网
PHP中文网Original
2017-06-19 11:22:262176browse

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!

Statement:
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