Recently in Vmbox virtual fedaro18 inside built a XAMPP environment, and in the inside configured well Testlink
Found in the virtual machine can be accessed, but to the outside of the host but found inaccessible
Ping the IP address in the virtual machine can be ping
and the Apache server in the XAMPP environment defaults to port 80.
The initial guess is the 80 port of the virtual machine, which is blocked by the virtual machine's firewall.
So enter in the shell:
/sbin/iptables-i input-p TCP--dport 80-j ACCEPT
And then restart the Apache in XAMPP.
/opt/lampp/xampp stop
/opt/lampp/xampp start
Alternatively, if you do not want to run the command every time you start, you can edit the configuration/etc/sysconfig/iptables file and add a:
-I input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT
Then reboot the firewall:
/etc/init.d/iptables Stop
/etc/init.d/iptables start
Once again, you can access the
Reference Address:
Http://www.2cto.com/os/201207/138564.html
Similar problems;
http://blog.csdn.net/lyhdream/article/details/40711129