I'm developing an App that opens a SocketServer and gets commands from telnet. Until I'm under the same LAN there are no problems and everything works. Trying with the phone network I can't reach the phone using telnet. There is any way to solve this problem? This is how I open the socket.
serverSocket = new ServerSocket(SERVER_PORT);
socket = serverSocket.accept();