Hello,Thank in advance for help, I have the following problem, I created a socket client / server and it works perfectly when I run it on LAN, but when I try to run it on internet did not connect to the server.
works correctlyInetAddress.getByName InetAddress addr = ("192.168.1.50");
Socket sock = new Socket(addr,port);
but when i use internet ip, the server don´t work correctlyInetAddress addr = InetAddress.getByName ("220.127.116.116"),
and in my router, i configured the natThank you very much.