10年 Java程序员,硬核人生!勇往直前,永不退缩!

欢迎围观我的git:https://github.com/R1310328554/spring_security_learn 寻找志同道合的有志于研究技术的朋友,关注本人微信公众号: 觉醒的码农,或Q群 165874185

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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  CanntBelieve  阅读(14705)  评论(3编辑  收藏  举报