See which adapter of your VM is used for internet connection

Login to your VM. As you see right now my internet through VM is not accessible

To fix this go to network setting inside VM adapter 2 because that adapter is used for internet access on this machine.


Make these changes to adapter 2 and click apply.

Now switch off and on the adapter 2

You are good now
