I have this problem....When I try to enter a LAN IP address and it can run and work perfectly...but when I use a real IP address, it took so long to connect, which is expected, and the web page was kinda flashing...which is NOT expected. This is my codes:
ServerURL = getDocumentBase();
ServAddr = new String(ServerURL.getHost());
Socket ServSk = new Socket(ServAddr, ConPort);
Is there anything I need to be careful about when I try to connect to an IP address???