I am having a small problem, i have already designed a chat application, the chat works fine over a local network but now I want to use it over the internet. Logically the program should but what happened is that to get the IP I have used
clientInformation.clientIPAddress = clientsoc.getInetAddress().getHostAddress();
and it gives only the local and I want the public IP of that machine. Can someone help me please.
I just want to get the external IP in a textbox!!
Thanks a lot in advance for your help.