mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
adb-forward: add page (#15251)
This commit is contained in:
parent
3efaf60d50
commit
7e2020d179
1 changed files with 20 additions and 0 deletions
20
pages/common/adb-forward.md
Normal file
20
pages/common/adb-forward.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# adb forward
|
||||
|
||||
> Connect to an Android device wirelessly.
|
||||
> More information: <https://developer.android.com/tools/adb>.
|
||||
|
||||
- Forward a TCP port:
|
||||
|
||||
`adb forward tcp:{{local_port}} tcp:{{remote_port}}`
|
||||
|
||||
- List all forwardings:
|
||||
|
||||
`adb forward --list`
|
||||
|
||||
- Remove a forwarding rule:
|
||||
|
||||
`adb forward --remove tcp:{{local_port}}`
|
||||
|
||||
- Remove all forwarding rules:
|
||||
|
||||
`adb forward --remove-all`
|
Loading…
Add table
Reference in a new issue