Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running ubuntu on my laptop but need to be able to test my work in windows xp where I'm using virtualbox. is it possible to tunnel my localhost so that it can be accessed by IE inside virtualbox?

share|improve this question

migrated from stackoverflow.com Feb 10 '10 at 0:57

This question came from our site for professional and enthusiast programmers.

3 Answers 3

up vote 2 down vote accepted

You don't need to tunnel. Just request either the IP address of the Ubuntu machine or it's FQN. I use that all the time when doing testing on my machine. Basically Vbox acts as a NAT so if you do an ifconfig and then hit the IP address of the machine you should be good.

share|improve this answer
    
it works just like you describe, thank you for your help –  kristian nissen Feb 10 '10 at 9:43
    
Hey I am having an issue with this, where I try to hit the ip address but it gives me an oops page... any suggestions? –  Lion789 Jan 28 at 8:20

If you are using the default networking mode (NAT), then the guest can access the host at 10.0.2.2, or via it's 'normal' IP address.

share|improve this answer

Virtualbox can see your host machine as just another machine on the network - if that's what you are asking?

share|improve this answer

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.