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

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 )

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.

Additional reference

For more details, you can also refer to .