Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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'm running a Google App Engine dev server on Ubuntu 11.10 Desktop in a VirtualBox VM, on a Windows 7 host. According to this question I have the following setup:

  1. The VM networking is set to use Host-only network adapter.
  2. Internet connection sharing (ICS) is enabled in Windows.
  3. For ICS, the Windows VirtualBox network port and the Ubuntu wired connection have fixed IPs.
  4. The Ubuntu VM can access the Internet.
  5. I can ping the guest from the host.
  6. On the host, if I put the guest IP address in Chrome's address bar, it says it can not connect.

What do I need to do from here to access the GAE dev server that is running on Localhost:8080?

share|improve this question

I would suggest that you put the networking to bridged, that will put your Ubuntu machine in LAN with your host Win7 machine. If you have enabled DHCP on your router (which is by default) that would give your Ubuntu machine an IP.
Then you could either use VRDP to access your machine or you could install openssh-server:

sudo apt-get install openssh-server

Then you could access your machine through putty, or from other place if you set your router to forward port 22 to your Ubuntu machine.
You could also install the NXServer on Ubuntu machine and NXclient for graphical access. You can download the client/server from NoMachine website.

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 '14 at 6:18

Would setting the network settings on the VM to NAT also be an option, then you would get an IP from your DHCP server on the network you are working on?

share|improve this answer
For a separate IP on LAN he needs to put networking to bridged and select the card connected to router. – enedene Nov 15 '11 at 10:45
Yeahh that's true actually, but I usally do it with NAT network... – latz Nov 15 '11 at 10:53
With NAT networking VIrtualBox itself will give an IP to the host machine, not the real router. – Javier Rivera Nov 15 '11 at 11:13

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.