Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Android Development
Previous Page Home Next Page

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>.
    Android Development
    Previous Page Home Next Page

      Published under the terms fo the Apache 2.0 License Design by Interspire