Cannot connect to virtual machine?

How to solve issue:

The virtual machine generates an IP address of its own, not controller_ip_addressThe IP address of your controller. In most cases 192.168.2.100.. Checkout virtual machine, how to obtain a virtual controller IP address.

Or check out Connection problem while switching between virtual machine and controller.