/
etc
/
init.d
/
iptables stop
systemctl stop firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state
not running
[root@bigdata-server-01 myrestserver]# systemctl stop firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state
not running
[root@bigdata-server-01 myrestserver]# systemctl start firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state
running
[root@bigdata-server-01 myrestserver]# systemctl stop firewalld.service
[root@bigdata-server-01 myrestserver]# firewall-cmd --state