Windows (VirtualBox)
- Set your virtual device Network mode to Bridged. See Configuring a Virtual Device
- Retrieve the virtual device IP address. It is displayed on top of the virtual device window:
-
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:
-
On Linux, socat is already available on our recommended distributions. On macOS, you need to install it with
brew:brew install socat
-
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
-
From another computer, connect adb to your host computer IP, port 6555:
adb <your-host-computer-ip>:6555