How to redirect network traffic to a local proxy with Genymotion SaaS

How to redirect network traffic to a local proxy with Genymotion SaaS?

4 years ago - Updated

If you need your application to access a local proxy, you will need to use adb reverse.

To do so: 1. Connect your device to adb with gmsaas (See Gmsaas command line tool user guide) 2. Set your local proxy to use TCP port 3000 (for example) 3. Configure the virtual device proxy using the web device interface, or with ADB:

adb shell settings put global http_proxy localhost:3333
4. Bind your local proxy to the device proxy configuration using command:
adb reverse tcp:3333 tcp:3000
5. Make sure your app handles Proxy System Settings.

For more details, you can also refer to this article.

Was this article helpful?

2 out of 4 found this helpful

Need more help? Request Technical Support

Related articles