[Solved] access windows guest from windows host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
triven
Posts: 14
Joined: 29. Dec 2013, 15:46

[Solved] access windows guest from windows host

Post by triven »

Hi Everyone,

Configuration:
Host: Windows8 (Host only network 192.168.56.101 - Unidentified network)
Guest:Windows7, Adapter1:NAT,Adapter2:Host-only(192.168.56.102 - Unidentified network).

I have node server installed on my guest which I want to access on my host. URL(http://192.168.56.102:5000/test.html) works well on guest but I am not able to access it on host. I also tried to remote desktop(mstsc) guest from host but it is also not working. I see some movement in packet sent when I run the url on host or try to remote desktop guest . It means there is some communication is happening but I am not sure why remote desktop and server access is not happening. Please let me know if I can share any other detail to help you check the issue.

Thanks
Trivender
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: access windows guest from windows host

Post by mpack »

What network mode did you use? (Hint: NAT will not work for this).
triven
Posts: 14
Joined: 29. Dec 2013, 15:46

Re: access windows guest from windows host

Post by triven »

Thanks for quick reply . I have Host only network mode.
snapshot
snapshot
ss1.JPG (51.02 KiB) Viewed 1699 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: access windows guest from windows host

Post by mpack »

"Unidentified network" might be a problem. There's a registry key that tells Win7+ that this network is secure, you might want to Google for info on that since I don't remember it offhand.
triven
Posts: 14
Joined: 29. Dec 2013, 15:46

Re: access windows guest from windows host

Post by triven »

Are you talking about the registry key being edited here. https://www.youtube.com/watch?v=Dj_CJyGfW5g . It would helpful if you can just have a look and confirm.
triven
Posts: 14
Joined: 29. Dec 2013, 15:46

Re: access windows guest from windows host

Post by triven »

Okay problem solved. Its not registry . Actually DHCP do not assign default gateway to the guest adapter and host-only adapter on host. We need to manually update it and it will work. Not sure its a bug or what. Solution found here viewtopic.php?f=6&t=59163
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: access windows guest from windows host

Post by noteirak »

triven wrote:Not sure its a bug or what.
Not a bug. Host-Only is exactly what the name is: an interface to talk with the host, and only the host.
There is no point having a gateway there since there is no gateway to another network to start with.
Blame Microsoft and its poor network management on this one.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply