CentOS7 is configured with httpd and the springboard machine cannot access the Linux solution of Vm

Ideas to solve the problem:

1. The firewall problem, try to turn off the firewall. Problem solved

2. Now let's talk about how to set up the firewall port.

(1) Add 80/tcp port

命令:firewall-cmd --zone=public --add-port=80/tcp --permanent

(2) Overload

Command: firewall-cmd reload

(3) View 80/tcp port

命令:firewall-cmd --zone=public --query-port=80/tcp  

After the above operation, the problem was solved.

Guess you like

Origin blog.51cto.com/11991620/2587170
Recommended