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 have installed VirtualBox on Windows 7, and created a new VM with Windows Server 2008. This seems to be working OK.

I'm now interested in remote desktop from my Windows 7 to the VM, but can't get that to work. I tried to use 127.0.0.2:3389, as mentioned in the VirtualBox documentation.

When I try to connect, it seems like the address is found, but can connect with the standard Administrator account. I am thinking there are some network configurations here that I'm missing.

share|improve this question
    
Not really a programming question –  IanNorton Oct 12 '11 at 12:50
    
You're right, I'm moving it. –  Rupal Oct 12 '11 at 12:57
add comment

migrated from stackoverflow.com Oct 13 '11 at 1:04

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

1 Answer

The problem is, by default, your guest operating system shares the IP of the host through NAT which means you cannot access any ports on the guest directly.

You need to do one of these:

  • Change the virtual NIC to use bridged connection and configure the IP address of the guest (if no DHCP)
  • Use host only network and configure the IP address of the guest
  • Set-up port forwarding for the NAT network

The details can be found at http://www.virtualbox.org/manual/ch06.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.