Skip to content

Instantly share code, notes, and snippets.

@soltrinox
Created January 27, 2018 00:28
Show Gist options
  • Select an option

  • Save soltrinox/d97a61ce9bb429b4ca9501c1d0478315 to your computer and use it in GitHub Desktop.

Select an option

Save soltrinox/d97a61ce9bb429b4ca9501c1d0478315 to your computer and use it in GitHub Desktop.
ANDROID PORT DEBUG ADB
Set up port forwarding
You can use the forward command to set up arbitrary port forwarding, which forwards requests on a specific host port to a different port on a device. The following example sets up forwarding of host port 6100 to device port 7100:
adb forward tcp:6100 tcp:7100
The following example sets up forwarding of host port 6100 to local:logd:
adb forward tcp:6100 local:logd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment