title: Use adb forward instead of redir
body: <p>I have a client and a server app on Android (that uses ZeroC - Ice platform for communication). Server listens on TCP port 10000 and client uses TCP port 5501 (arbitrary port numbers I have chosen).</p>
  
  <p>When I telnet to server and run <code>redir add tcp:5501 tcp:10000</code> it works smooth. </p>
  
  <p>However, due to my current system setup (using androidx86 binary through a virtual machine), I can no longer telnet to the server. So I was hoping I could use <code>adb forward</code> instead. However, whatever port combination I tried, I couldn't get it to work. </p>
  
  <p>I would really appreciate if someone could shed some light on these:
  - Is it possible to telnet to a device replicate or device? I've read on another post on stackoverflow that telnet interface is only available for emulator
  - What is the difference between <code>redir</code> and <code>adb forward</code>? How should I use adb forwarding to achieve <code>redir tcp:A:B</code> on server?</p>
  
  <p>Thanks</p>