Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running Ubuntu 11.10 in VirtualBox, on Windows 7. I'm trying to setup a serverside process like Apache on it. How do I configure VirtualBox to allow access to the Ubuntu server process from other computers on the network?

  1. I can access the internet from Ubuntu.
  2. The Windows 7 computer is on a WiFi network using DHCP.
  3. The WiFi network has a dynamic IP with the network provider.

This is my current configuration:

network

share|improve this question

1 Answer 1

In your current network configuration the guest machine is not accessible by other devices on your network because it is using NAT.
Shut it down and set it to be Bridged instead of NAT. Once you start the machine again it will connect to the network and get its own IP address that others on the network can access to.

share|improve this answer
    
I tried setting "Bridged adapter" and restarting. ifconfig command displays a ip address for the guest machine as 10.210.x.x, but I can not connect to the guest vm from my host machine through putty. What could be wrong? –  Andy Dufresne Sep 24 at 6:14

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.