Setting Up Redirections through ADB
The Android Debug Bridge (ADB) tool provides port forwarding, an alternate
way for you to set up network redirections. For more information, see Forwarding Ports in the ADB
Note that ADB does not currently offer any way to remove a redirection,
except by killing the ADB server.