T
T
TimLee2015-06-30 18:12:50
linux
TimLee, 2015-06-30 18:12:50

How to open localhost on Win10 which is in VirtualBox?

There is Ubuntu 14.04 and there is Virtualbox with Win10, I want to open localhost in Windows for testing in IE.
On Ubuntu I use Browsersync and sites open on localhost:3008. How to do the same only in Windows, which is in a virtual machine?
I tried forwarding ports, but nothing happened.
I set the settings like this:
8fe757c3c32b4dc4b5ff7b1d092741c4.pngb0d7dc1b75804bbdb8367ea187f8d0f5.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Michael, 2015-06-30
@TimLee

try looking at the IP in the connection information and in the virtual machine substitute this IP instead of localhost. In the opposite direction (local server in a virtual machine - viewing on a working OS) works

T
TimLee, 2015-06-30
@TimLee

Valery Ryaboshapko
Oh, dull.
About the "other IP" did not understand. Now I checked everything works. Thanks for the advice.

S
Salador, 2018-07-04
@Salador

I couldn't open 192.168.10.10 in homestead.
In VirtualBox -\u003e File -\u003e Host Network Manager, checked the DHCP checkbox with the initial port 192.168.10.1 and it worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question