Port Redirection
You can use the console to add and remove port redirections while the emulator is running. After connecting to the console, you can manage port redirections in this way:
redir <list|add|del>
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 <host-port>. |