First check whether the closed Linux firewall
firewall-cmd
Linux firewall software on the new use, with almost iptables tool.
cmd-Firewall - State # show firewall status systemctl start firewalld # start systemctl status firewalld # or Firewall -cmd - State View state systemctl disable firewalld # 停止 systemctl stop firewalld # Disable
View detailed command: https://blog.csdn.net/GMingZhou/article/details/78090963
Then modify the network configuration
input the command
vi /etc/sysconfig/network-scripts/ifcfg-ens33
ONBOOT modify property values change yes no
Restart Service
service network restart (restart the service command)
ip addr show (see ip information command)