How to connect to a Genymotion Desktop virtual device remotely with ADB

Windows / Linux

On Linux, this method will only work with VirtualBox Hypervisor.

1. Set your virtual device Network mode to Bridged. 2. Retrieve the IP address displayed on top of the virtual device window. 3. From another computer, open a command prompt and run the following command.

adb connect <virtual_device_IP>:5555

MacOS

VirtualBox hypervisor is not available on Mac M series.

The Bridged Network mode has not been implemented yet.

However, it is possible to forward TCP port using socat tool.

brew install socat

socat TCP-LISTEN:6555,bind=<your-host-computer-ip>,fork TCP:127.0.0.1:6555

adb <your-host-computer-ip>:6555