I have a Debian 8 VM using Virtualbox running on a Windows 7. I’ve installed TightVNC server on my Debian vm, and UltraVNC on my Windows 7 host, but every ip I try (with the port 5901) returns a “failed to connect to server”.
How do I find the correct ip address of the VM in order to connect to its vnc server from the host machine? Is there any other configuration needed?
Advertisement
Answer
You can enter into the configuration of the GUEST host.
In configuration / Screen / Remote Screen
check the enable checkbox. (take care of port number)
Then, you only need to open a RDC client (just the Remote access of windows), Put the IP of the HOST machine (and the port like 10.10.10.10:3389) and you are connected fron Anywhere to the Guest machine.
if you need to use VNC, then you need to bridge the tap (ethernet) or need to bypass the port to the machine to reach it from the network.
If you need to connect only with VNC from HOST to GUEST, just read the IP of the ethernet interface of the GUEST, and just connect to this IP From the HOST PC.
You can type in a console IP ADDR to get the IP of the Debian GUEST.