In VirtualBox, how can I access host localhost from guest (Visual Studio Dev Server from IE7 testing VM)?

Posted by Seth on Super User See other posts from Super User or by Seth
Published on 2012-11-23T13:17:39Z Indexed on 2012/11/24 17:07 UTC
Read the original article Hit count: 209

Host OS is Win7 running MyApp in the Visual Studio Development Server, bound to localhost:51227, VM is VirtualBox configured with NAT. Guest OS is Win XP with IE7 installed. My goal is to debug MyApp (running on host) from within IE7 (running on guest).

Visual Studio Development server only binds to the loopback network device (i.e. localhost). It does not bind to the external IP address of my host.

I've tried access 10.0.2.2:51227 from IE7 on the guest (and confirmed that 10.0.2.2 is the gateway address using ipconfig), but it appears that 10.0.2.2 binds to the external IP of the Host, NOT the loopback IP (localhost), so this does not work.

Any suggestions?

© Super User or respective owner

Related posts about virtualbox

Related posts about internet-explorer-8