adb forward <LOCAL -> port|domain|device|pid> <REMOTE -> port|domain|device|pid>

Forward connection

Arguments

NameDescription
LOCAL -> port|domain|device|pid
REMOTE -> port|domain|device|pid

Options

NameDescription
--listList all forward socket connections
--remove <LOCAL>Remove specific forward socket connection
--remove-allRemove all forward socket connections
--no-rebindReversal fails if the specified socket is already bound through a previous reverse command