How to establish a TCP session to a virtual device?
4 years ago - Updated
To establish a TCP session to your virtual device, you must set up port forwarding with ADB:
adb forward tcp:<host port> tcp:<virtual device port>
ADB forwards the packets to the virtual device for you. You do not need to directly contact the virtual device. This must be done each time the virtual device is started.
For more information, please refer to http://developer.android.com/tools/help/adb.html#forwardports
Was this article helpful? Yes No
Need more help? Request Technical Support
Related articles
- Genymotion Desktop and firewalls
- How to redirect network traffic to a local proxy with Genymotion SaaS?
- How to connect to a Genymotion Desktop virtual device remotely with ADB?
- How to access a local host or service from a virtual device?
- How to install Magisk on Genymotion?