How to connect to VirtualBox on the network

Sometimes I experiment on virtual machines with Linux Ubuntu Server and in order to be able to connect to them by IP address, open VirtualBox, select the desired machine, open “Configure” – “Network” and see that in the “Adapter 1″ tab there is a standard tick on ” Enable network adapter “and” Connection type: NAT “is selected. It is necessary for the Internet to work on the virtual machine.
You can change to “Network Bridge” and the virtual machine will try to get IP in the same network as the physical computer, for example from a router, and will also be visible on the network.

Continue reading “How to connect to VirtualBox on the network”