Page 1 of 2

Can use VRDP with localhost, but not IP address

Posted: 8. Feb 2015, 20:25
by mrschwarz
I am running VB on a Windows 8 machine. The guest is also Windows 8. It is set up for VRDP and works fine from the host computer using 'localhost:xxxx' where 'xxxx' is the port set up for VRDP for this guest. I cannot use RDP using the local IP address of the host from either the local machine or another machine on the LAN. I have disabled all firewalls without any change. I can use RDP and Teamvier both to access the guest machine when it's running, but not VRDP. I have installed the extensions on the host and the additions on the guest without improvement.

When I first installed the guest, it worked. Now it doesn't. I am at the end of things to try from my end. Can anyone help me get this working? Thanks in advance.

Re: Can use VRDP with localhost, but not IP address

Posted: 8. Feb 2015, 22:43
by noteirak
Please post the output of the following commands on the host, running from the VirtualBox install directory for the first one and replace <vmname>:

Code: Select all

vboxmanage showvminfo <vmname> --details

Code: Select all

netstat -anb | find "LISTENING"

Re: Can use VRDP with localhost, but not IP address

Posted: 9. Feb 2015, 07:52
by mrschwarz
ForForum.txt contains the output of the first command. ForForum1.txt contains the output of the second. Note that even though the 'state' in the info command says that the machine is off, it is actually running. Thanks for your help.

Re: Can use VRDP with localhost, but not IP address

Posted: 9. Feb 2015, 12:06
by noteirak
nothing is listening on IPv4 for port 5001, but is on IPv6, so my guess is something prevents VirtualBox to bind the port. Try configuring the VRDP module to use your NIC IP address, and see if you can connect.
If still not, please provide the relevant VM log file.

Re: Can use VRDP with localhost, but not IP address

Posted: 10. Feb 2015, 05:12
by mrschwarz
Not wanting to seem ignorant, but how do I do that?

Re: Can use VRDP with localhost, but not IP address

Posted: 10. Feb 2015, 21:14
by noteirak
From a command line, in the install directory of VirtualBox, replace <vmname> and <ip> by the relevant values:

Code: Select all

vboxmanage modifyvm <vmname> --vrdeaddress <ip>
Then, browse to the directory where your VM is located, then go into Logs, and take the VBox.log, zip it, attach it to this post (don't copy/paste! attach the file itself)

Re: Can use VRDP with localhost, but not IP address

Posted: 15. Feb 2015, 18:11
by mrschwarz
Here are the logs from today.

Re: Can use VRDP with localhost, but not IP address

Posted: 15. Feb 2015, 18:22
by noteirak
No error, it just listen on IPv6.
Could you show the command you've typed in to configure the IP?
Also, please run the following command and give the output (same comments as before) :

Code: Select all

vboxmanage showvminfo <vmname> --details

Re: Can use VRDP with localhost, but not IP address

Posted: 15. Feb 2015, 18:30
by mrschwarz
i used the wrong ip address. Here is the log with the ip address of the physical nic.

Re: Can use VRDP with localhost, but not IP address

Posted: 15. Feb 2015, 18:33
by noteirak
No improvement

Re: Can use VRDP with localhost, but not IP address

Posted: 16. Feb 2015, 17:06
by mrschwarz
Here are two files showing information before I started the VM and after it was running. Here is the command I used, frommone of the earlier posts: 'vboxmanage modifyvm win8.1 --vrdeaddress 10.160.64.231'

Re: Can use VRDP with localhost, but not IP address

Posted: 16. Feb 2015, 17:53
by noteirak
and it still doesn't work on IPv4?

Re: Can use VRDP with localhost, but not IP address

Posted: 17. Feb 2015, 00:37
by mrschwarz
Nope.

Re: Can use VRDP with localhost, but not IP address

Posted: 17. Feb 2015, 01:20
by noteirak
Baffled to be honest - no reason for it to fail, and nothing in the log states anywhere that it ever failed. your IPv4 seems fine seems you had other processes listening on it...
One possible issue is that VBoxWebSrv is not allowed on the host firewall. Can you add the process and authorize everything on it?

Re: Can use VRDP with localhost, but not IP address

Posted: 18. Feb 2015, 06:34
by mrschwarz
I authorised the process without any change. I then changed the listening port of the host system and changed the listening port of the VM to 3389. While I can connect to the host on this port, I cannot connect to the VM on the same port so I am assuming it's not the port being blocked, but something going on with the VRDP server.

Not sure where to go with this now. Thanks for your help.