CmdID

CmdID / Commands

adb-reverse

Reverse socket connections from a connected Android device or emulator. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all reverse socket connections from emulators and devices

adb reverse --listIdentify

Reverse a TCP port from the only connected emulator or device to localhost

adb reverse tcp:remote_port tcp:local_portIdentify

Reverse a TCP port from a specific emulator or device (by device ID / serial number) to localhost

adb -s device_id reverse tcp:remote_port tcp:local_portIdentify

Remove a reverse socket connection from an emulator or device

adb reverse --remove tcp:remote_portIdentify

Remove all reverse socket connections from all emulators and devices

adb reverse --remove-allIdentify