Solve the problem that the host cannot access the webpage in the Centos7 virtual machine

1. Change the connection mode in the virtual machine to bridge.

2. Turn off the firewall of centos.

systemctl stop firewalld.service

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326349962&siteId=291194637
Recommended