I am having trouble trying to connect to a new Windows 10 Pro virtual machine I created using VirtualBox 5 on Windows 7. I created the VM using the Windows 10 template and used a virtual cd with the install ISO mounted. after finishing the install and bringuping up the VM, I enabled allowing remote desktop connections in the Windows 10 image. i shut down the instance and added a 2nd network interface (The first one was NAT-ed) that I defined as Host Only adapter. Then brought up the Windows 10 guest and attempted to RDC to the 198...* address that the 2nd adapter received from my host Windows 7 system. I was unable to connect. Any thoughts on what I may still need to do to make the connection.
I can ping out but not in. Thinking I need to tell windows 10 the second adapter network is a trusted network.
Is there a firewall inside the VM? Try disabling it.
By the way, you don't need a second adapter to RDP in. The VM should have an IP address on the NAT interface and you can port-forward the hosts's 127.0.0.1:x to the VM's 192.168.1.2:x
This has the advantage of opening only one port and keeping the VM otherwise isolated from the host.