I have Ubuntu installed in VirtualBox on my windows machine with the default setup. I can visit my apache server in the guest OS by going to localhost:8080, but can't access it from the host (windows) by ip address specified in ifconfig.
My network setting is bridged networking mode as per virtualbox guest os server

Update subnet are the same. Windows firewall is disabled.

  • Are your Ubuntu VM and Windows Host machine on the same subnet?
    – Dan
    Sep 27, 2011 at 16:44
  • Does your guest OS allow connections through its firewall to port 8080?
    – Fuu
    Sep 27, 2011 at 17:30
  • Please be more specific asking your questions. How are your trying to access from host?
    – m0skit0
    Sep 27, 2011 at 17:40
  • What I ment was that the ubuntu will also have a firewall. Is it configured properly? This has nothing to do with your Windows firewall.
    – Fuu
    Sep 27, 2011 at 18:27

1 Answer 1


What is the network connection?

Have you tried using bridged network type?

or Host only type?

This should help you gain an ip address from the router and with this you should be able to access it from your host machine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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