1. Change the connection mode in the virtual machine to bridge.
2. Turn off the firewall of centos.
systemctl stop firewalld.service
1. Change the connection mode in the virtual machine to bridge.
2. Turn off the firewall of centos.
systemctl stop firewalld.service