Super User is a question and answer site for computer enthusiasts and power users. 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

Is there any way to access guest's localhost through a browser inside the host? I am running Ubuntu with Virtualbox on Win7.

share|improve this question
up vote 1 down vote accepted

That depends on how your guest is connected to network.

If you are connecting through NAT, virtualbox provides port forwarding. Your access against host:port1 will be mapped to guest:port2 then. This is my preferred way.

Or if you are using Bridge, just check IP address of guest, and use it in host's browser.

share|improve this answer
Used bridge and it worked, thanks! – Kay Sep 21 '12 at 10:25

Get your guest's ip address using ifconfig.

Type this ip address on your host browser's address bar.

share|improve this answer
or localhost – cutrightjm Sep 21 '12 at 4:29
Localhost won't work since it's aim the local machine. If you type localhost on Win7 you're going to reach your Win7 machine. Host and guest are different machines with different IP addresses. – epingle Sep 21 '12 at 7:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .