linux - 主机无法访问虚拟机的httpd服务
PHP中文网
PHP中文网 2017-04-17 15:30:12
0
6
857

主机和虚拟机能相互访问,虚拟机安装和启动了httpd服务,在主机浏览器输入虚拟机地址无法访问

PHP中文网
PHP中文网

认证0级讲师

reply all(6)
伊谢尔伦

Turn off the virtual machine’s firewall

小葫芦

It may also be an Apache configuration issue

左手右手慢动作

iptables -F

刘奇

Whether the port number is 80

左手右手慢动作

Is the virtual machine running on your local machine? Try using bridge network mode

洪涛

1. First check whether the network can be connected (ping)
2. Check whether http port 80 is occupied
3. Whether the virtual machine firewall is turned on, and the firewall configuration you gave only has input but not output. . The default firewall is drop

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template