Home > Operation and Maintenance > Linux 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中文网
Release: 2017-06-19 11:22:26
Original
2236 people have browsed it

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!

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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template