أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Configure network settings as bridged mode so your vm and laptop will communicate each other
If you want to development on your VM, you should check out Vagrant it comes out of the box with a lot of settings that you can use right away. Vagrant + Docker makes a good combination
At the First you should change the Network adapter to Bridged (It seems you are choosing NAT)
Then you can give an ip to your guest machine other than 10.0.2.15 (or you can leave it if you want)
then open a browser from your host machine and type: ip-address-of-your-guest-machine/...
then it will let you to communicate
Select the network mode at your choice (bridged networking or host-only) (in the below example, I'm using host-only)
If you want to use bridged networking, you've to select the right network adapter at Name. For wired connections, you'd select something named like eth0. Wireless connections are usually named wlan0 (the numbers may vary)
When up, you can gather the IP address by running: