How to connect ADB remotely to a Genymotion Desktop local device?

Windows (VirtualBox)

1. Set your virtual device Network mode to Bridged. See .

2. Retrieve the virtual device IP address.

3. From another computer, open a command prompt and run:

   adb connect <virtual_device_IP>:5555
   

Linux/MacOS (QEMU)

VirtualBox hypervisor is not recommended on Linux and macOS, and it is not available on mac M series.

However, it is possible to do the same by forwarding TCP port 6555 with the socat tool:

1. On Linux, socat is already available on our recommended distributions. On macOS, you need to install it with brew:

   brew install socat
   
2. Forward your host computer, where Genymotion is running, local port 6555 to its IP on your network:
   socat TCP-LISTEN:6555,bind=<your-host-computer-ip>,fork TCP:127.0.0.1:6555
   
3. From another computer, connect adb to your host computer IP, port 6555:
   adb <your-host-computer-ip>:6555