I setup and installed a CentOS6 webserver on a virtualbox.
Already setup port-forwarding of port 4444 to 80 so that I can access it and even disabled Win7 firewall.
I think that probably the problem is in apache httpd
so I install lynx
and I can view the test.html I created. But I can't access it in the host browser.
ifconfig
says the guest ip is 10.0.2.15
so when I try to access it in my web browser on i type : http://10.0.2.15:4444
I don't know what's wrong with my setup
EDIT: 127.0.0.1:4444
doesn't work either
EDIT: Switched network type to bridged networking, still has windows firewall disabled, removed port-forwarding setting on virtualbox and I still could not access the web server. :(
Answer
Finally found the cause. Apparently, CentOS 6 iptables
block httpd port 80 outside by default.
No comments:
Post a Comment