VirtualBox networking issue

Solution 1:

In your VM settings -> Network. Change NAT to Bridged Adapter when your machine if turned Off:

This will update your IP to the main host (192.168.x.x probably)

enter image description here