From the Administrator Console of Virtual Machine Manager 2012 R2 it is possible to connect to a virtual machine using
- Connect via Console (port 2197)
- Connect via RDP (port 3389)
In my lab, I was facing the following error when trying to connect to a VM using Connect via Console
An internal error has occurred. (0x0004, 0x0000)
I already noticed the Administrator Console was in another VLAN than my Hyper-V server. Therefor our firewall (which is placed between these 2 VLANs) could be blocking traffic. Further investigation indeed led me to blocked traffic on port 2197.
As for your troubleshooting be aware the connection to your VM is not the problem. The connection from the Virtual Machine Manager Console and the Hyper-V hosts IS.
If there’s a 3rd-party firewall between the machines, check the firewall logs.
If not, check whether the Windows firewall on your Hyper-V hosts is enabled. If so, open incoming traffic from your SCVMM Console machine on port 2197.
Aboves analysis are based on:
System Center Virtual Machine Manager 2012 R2 (SCVMM 2012 R2)
Windows Server 2012 R2
Windows Server 2016