Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
Do you have any firewall rules on the CentOS machine? –  EEAA May 16 '12 at 18:51
    
i remove firewall, but still the same problem –  kamal May 16 '12 at 19:25
    
Then I'd ensure that Apache is configured to listen on the correct IP address. –  EEAA May 16 '12 at 19:26
add comment

1 Answer

up vote 0 down vote accepted

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.

share|improve this answer
    
nops i actually found the issue and confirming it, It has to do with the default Network Adapter TYPE, until CentOs 5.8 it was E1000, but for some odd reason the default is for CentOs 6.0 and up , "Flexible" –  kamal May 16 '12 at 19:26
1  
So you didn't have a driver installed for it. The same problem would occur if you were using a NIC without a native driver included by the distro. –  MDMarra May 16 '12 at 19:30
    
ok i just installed centos5.8 with http option selected during install , and after disabling selinux i WAS able to access it from outside, makes me think this is /etc/httpd/httpd.conf ALL ALL ... type of issue –  kamal May 16 '12 at 20:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.