you have NAT on your VM can connect to your PC and the internet but your PC can't connect to the VM.

Enable Bridge Mode or add ports in the Port Forwarding tab.

https://i.imgur.com/zSpRIse.png...