D
D
Daniel2017-09-22 20:42:01
linux
Daniel, 2017-09-22 20:42:01

How to access guest OS server in Oracle VM Virtualbox?

Good to everyone!
There is an ubuntu on a virtual machine. Virtualbox on windows. There's a web server running in the application. The application is available at localhost:3000. Is it possible to access this application through a browser in windows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2017-09-24
@Valtasaar

well here is the answer.
if the connection type is NAT, then this means that a local network is created for the virtual machine with its own addresses and outside, i.e. to the network to which the computer is connected, access is provided through network address translation . Moreover, access is obtained one-way "from the inside out" everything is available, but there is no way to knock on internal addresses from the outside.
To access inside, you need to forward the port, the option is there somewhere. there is no virtualbox at hand.
option 2: set the connection type to "bridge", then the virtual machine will connect to the same network as the computer. receives a separate address in it and access to it will be at this address.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question