CentOS6 Turn off the firewall using the following command ,
// Temporarily Closed service iptables stop // Do not start chkconfig iptables off
CentOS7 If you use the same command, you will report an error ,
stop iptables.service Failed to stop iptables.service: Unit iptables.service
not loaded.
that is because CentOS7 Firewall is used by default after version firewalld, So in the CentOS7 Use the following command to turn off the firewall in ,
// Temporarily Closed systemctl stop firewalld // Do not start systemctl disable firewalld Removed
symlink /etc/systemd/system/multi-user.target.wants/firewalld.service. Removed
symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
of course , If the iptables-service, You can also use the following command ,
yum install -y iptables-services // Turn off the firewall service iptables stop Redirecting to
/bin/systemctl stop iptables.service // Check firewall status service iptables status
Redirectingto /bin/systemctl status iptables.service A kind of iptables.service - IPv4
firewallwith iptables Loaded: loaded (/usr/lib/systemd/system/iptables.service;
disabled; vendor preset: disabled) Active: inactive (dead)

©2019-2020 Toolsou All rights reserved,
Java Swing JList: List box components Accurate mobile phone number capture , Big data of operators The difference between memory overflow and memory leak , Causes and Solutions Website mobile phone number capture method stay Vue Use in Web Worker3 species Python data structure ,13 Creation methods , This is the conclusion , Great ! What's the difference in server prices ? Basic definition and use of function ‘ To be continued SQL Server Database Glossary Chrome OS, For programmers and Windows What does it mean ? Internet Marketing