How can i access apache web pages from outside VMWare ESXi virtual Machine – Problems with loading a website are often blamed on the Internet connection, but even the most perfectly set up network cannot help if there is no service to reply at your destination. One of the most popular HTTP servers used for this task is Apache2. Much of Apache’s popularity can be attributed to its easy installation and use, but never the less it is possible to run into problems with even the easiest of the software. If you’ve encountered an issue loading your web page, follow these simple troubleshooting methods outlined in this guide to attempt to get your web server back up and working again. Below are some tips in manage your apache2 server when you find problem about apache-2.2, networking, vmware-esxi, , .
I am using ESXi 4.1 and have a CentOs 6.2 Virtual Machine with apache server running. I cannot access this web server from outside the Virtual Machine.
My ESXi 4.1 is on 10.0.11.11
The VM i have setup has the IP 10.0.1.152
i can ssh to this VM from outside, but cannot access the web page
Take ESXi out of the equation and the answer will be the same. Likely there is some firewall or apache configuration on the guest that is causing this. ESXi has nothing to do with it, since the networking is bridged.
You just need to open port 80 for apache:
sudo firewall-cmd --add-service=http --permanent sudo firewall-cmd --reload