Redir

The redir command supports the subcommands listed in the table below.

Subcommand

Description

Comments

list

List the current port redirections.

add <protocol>:<host-port>:<guest-port>

Add a new port redirection.

• <protocol> must be either "tcp" or "udp"

• <host-port> is the port number to open on the host

• <guest-port> is the port number to route data to on the emulator/device

del <protocol>:<host-port>

Delete a port redirection.

See above for meanings of <protocol> and <hostport>.

0 0

Post a comment