This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario:
You run the Microsoft System Center Virtual Machine Manager (SCVMM) 2008 Administrator Console on a computer that is running Windows 7 or Windows Server 2008 R2.
You use SCVMM 2008 Administrator Console to connect to a virtual machine (VM) on a Windows Server 2008 Hyper-V host.
In this scenario, you receive the following error message if Remote Desktop is not enabled on the VM, or if the VM does not have network connectivity to the client that is running the Administrator Console:
Virtual Machine Manager failed to connect to the virtual machine because of a socket connection error. Check the firewall and network settings, and then try to connect again.
This issue may occur because the SCVMM 2008 Administrator Console tries to establish a Remote Desktop connection by not using a VMConnect connection to the Hyper-V host on the 2179 TCP port. Instead, the SCVMM 2008 Administrator Console tries to establish a Remote Desktop connection directly with the operating system of the VM on the 3389 TCP port.
Note The SCVMM 2008 Administrator Console works as expected on a computer that is running a supported version of Windows XP, of Windows Vista, or of Windows Server 2008.
To resolve this issue on a computer that is running Windows 7 or Windows Server 2008 R2, you must use Microsoft System Center Virtual Machine Manager (SCVMM) 2008 R2.
Additionally, you must use SCVMM 2008 R2 to manage Windows Server 2008 R2 Hyper-V hosts.
For more information about how to assign ports that are used for communication and for file transfers between the Virtual Machine Manager (VMM) components, visit the following topic on the Microsoft TechNet Web site: