Failed to stop iptables.service: Unit iptables.service not loaded.

redhat 7html

[root@lk0 ~]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
[root@lk0 ~]#
[root@lk0 ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
● iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)htm

客戶端telnet ip 8088 , 不通, 鬱悶!ip

原來 redhat 7 的防火牆不能那麼關。。。it

http://jingyan.baidu.com/article/e52e3615a9009440c70c5162.htmltable

使用systemctl 就ok了!file

systemctl stop firewalldiptables

systemctl status firewalldservice

systemctl disable firewalld防火牆

systemctl enable firewalld客戶端

相關文章
相關標籤/搜索