problem:
This Firewall off: they can ping each other the same network segment. However, the machine is unable to access the web page;
solve:
1. First check the firewall state of a virtual machine
$firewall-cmd --state
2. Stop the firewall
$systemctl stop firewalld.service
Prohibition boot: $ systemctl disable firewalld .service
Open port
# firewall-cmd --permanent --add-port=80/tcp
Newly loaded
# firewall-cmd --reload
$systemctl stop firewalld.service
$systemctl start firewalld.service
Note that when the need to modify the firewall settings to see if iptables file exists, there is no unsuccessful;
E.g:
# /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
# / Etc / rc.d / init.d / iptables # firewall initialization file