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

Windows / Linux

  adb connect <virtual_device_IP>:5555
  

MacOS

  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