Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running CentOS in Virtualbox environment on my Win7 machine. I am able to connect there by SSH from host machine (win7), but Apache's httpd is not answering.

I can get response in CentOS by curl localhost, curl, but IP address doesn't respond on host machine:

C:\Users\username>telnet 80
Connecting To not open connection to the host, on port 80:
Connect failed

Also nmap localhost doesn't show that 80 port is open.

What can be the issue?

share|improve this question
up vote 2 down vote accepted

If you have sudo rights, try running service httpd status and see if the server is running.

If you find that apache is running, your problem is probably going to be port related- in which case, running system-config-securitylevel-tui will bring up a terminal version of the firewall-management console, which you can then go into and enable the necessary port forwards.

If you find that you still cannot access your httpd server, make sure you've opened/forwarded the ports on your router.

share|improve this answer
You're AWESOME! Thanks! Only thing utility called system-config-firewall-tui. Thanks again! – Stas Feb 24 '12 at 14:45

Your Answer


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.