I want to connect my Android phone(Galaxy 2.1) to PC using socket communication, which IP and port number should i use? My server is in VC++ tht create a socket and my phone acts as a client in this communication.? but client cannot create socket...............
//my sample code
InetAddress serverAdd = InetAddress.getByName("127.0.0.1");
socket = new Socket(serverAdd, 8088);
Thanx in advance,