title: what is the port number of the server on the android mobile phone not on AVD to can allow client to connect?
body: <p>I had succeeded in developing this on AVD through eclipse but i want to do it on the mobile android phones.</p>
  
  <p>But they can't connect to each other while testing on mobiles.</p>
  
  <p>So, my question is "how to set the ports"
  On AVD's , i gived the server port no. 2000 while client is connected to 1000, so i had redirected the ports through "telnet localhost" but on android phones i can't do this "telnet"</p>
  
  <p>So, please help how to set IP and ports while developing on phones not virtual devices.
  Thanks</p>