-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathadb-reverse
More file actions
20 lines (11 loc) · 625 Bytes
/
adb-reverse
File metadata and controls
20 lines (11 loc) · 625 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# adb reverse
> Android Debug Bridge Reverse: reverse socket connections from an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/studio/command-line/adb>.
- List all reverse socket connections from emulators and devices:
adb reverse --list
- Reverse a TCP port from an emulator or device to localhost:
adb reverse tcp:{{remote_port}} tcp:{{local_port}}
- Remove a reverse socket connections from an emulator or device:
adb reverse --remove tcp:{{remote_port}}
- Remove all reverse socket connections from all emulators and devices:
adb reverse --remove-all