Server Fault is a question and answer site for system and network administrators. 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 have a server application running in an XP Mode virtual machine in Virtual PC. The host system is Windows 7. I can't seem to connect a client running on the host system to this server (over a TCP connection), there is so response. I tried setting up the network connection in the VM as both NAT and Internal (restarting the VM each time), but there is no response from the VM (client never connects and ping reports that its unreachable). I tried turning off both firewalls as well. Any advice?


share|improve this question
I haven't used virtual but is there a bridged network option? That is probably what you need. – Zoredache Mar 2 '11 at 17:26
are they on the same IP subnet, and have you checked routing tables if not ? could you post ipconfig/all for both ? – Renik Mar 2 '11 at 18:27
up vote 1 down vote accepted

On the Virtual PC settings for XP Mode VM, set the NIC to the same network adapter name that you are using on the host OS. NAT or Internal will prevent IP connectivity between the two. Then do a ipconfig on both host and XP Mode computers and their IP addresses should be same subnet and you can use the IP of the XP Mode VM to access it (as long as it's FW is off or ports open).

share|improve this answer
This is a "bridged" mode, right? Where the VM and the host will share logical connections on the same ethernet interface, so the VM will be joining the same network as the host? This is not ideal but it should work. I was hoping to just have a private network of some kind for the VM. Is there a way in windows to create a virtual only device not bound to any actual ethernet device (similar to a loopback on Linux) that the VM could then use? – Reed Hedges Mar 4 '11 at 14:51

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.