redhat 7
[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)客户端telnet ip 8088 , 不通, 郁闷!
原来 redhat 7 的防火墙不能那么关。。。
http://jingyan.baidu.com/article/e52e3615a9009440c70c5162.html
使用systemctl 就ok了!
systemctl stop firewalld
systemctl status firewalld
systemctl disable firewalld
systemctl enable firewalld
posted on 2016-10-25 21:10 阅读( ...) 评论( ...)