Page 1 of 1

[Solved] From Host to Guest

Posted: 4. Mar 2014, 18:30
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

Re: From Host to Guest

Posted: 4. Mar 2014, 19:00
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

Re: From Host to Guest

Posted: 4. Mar 2014, 19:12
by qwerty50
As IP Guest I have 10.0.2.15

Re: From Host to Guest

Posted: 4. Mar 2014, 19:19
by mpack
That address implies the use of NAT, not host-only.

Re: From Host to Guest

Posted: 4. Mar 2014, 19:21
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).

Re: From Host to Guest

Posted: 4. Mar 2014, 21:23
by qwerty50
ok, it go

Thank you very much