Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a repository on the host machine (Windows 7) that I need to expose (via http protocol) to the virtual machine but not the the other world (even other computers on the router).

On the virtual machine (Windows server 2008 R2) I have a deployed web application that I need to be exposed to my host only.

Is that can be achievable?

share|improve this question
up vote 1 down vote accepted

You can setup a new networking interface for your virtual machine. Configure the interface to host-only networking. With host only networking the adapter only allows traffic between the VM host and the VM guest, without allowing access to the external network.

You can then configure your web server to only serve pages on the host-only network interface. Your host would need to access the web application using the host-only IP address, obviously.

share|improve this answer

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.