[Solved] From Host to Guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
qwerty50
Posts: 9
Joined: 24. Nov 2011, 13:02
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: windows 7

[Solved] From Host to Guest

Post by qwerty50 »

Hi at all,
I have my virtual machine with Ubuntu, where I have application (pippo) on port 8345, so http://localhost:8345/pippo
Now, I want call this application from host, is it possible ?
For example from host web browser client so http://192.168.56.1:8345/pippo
where 192.168.56.1 is address of Virtual Host only Network

Thank you very much
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: From Host to Guest

Post by Perryg »

If, as it appears, you are using the host-only adapter you would use the guests IP address. This should be 192.168.56.101
qwerty50
Posts: 9
Joined: 24. Nov 2011, 13:02
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: windows 7

Re: From Host to Guest

Post by qwerty50 »

As IP Guest I have 10.0.2.15
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: From Host to Guest

Post by mpack »

That address implies the use of NAT, not host-only.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: From Host to Guest

Post by socratis »

From the guest's IP it seems you're using NAT. You cannot access a NATed guest from the host. You have to either change it to Bridged (can be finicky with wireless networks), or add a second NIC and set it to HostOnly (that's what I would do).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
qwerty50
Posts: 9
Joined: 24. Nov 2011, 13:02
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: windows 7

Re: From Host to Guest

Post by qwerty50 »

ok, it go

Thank you very much
Post Reply