And how do you retrieve the external IP on a machine ?
I have 2 IPs, one internal to my home network, and one external, the one that i get on the internet.
Check this schema to see what i mean if it's not clear :
http://forum.portforward.com/YaBB.cgi?board=Knowledge;action=display;num=1116983138 // This retrieves the internal IP address but I want the external IP address
yourAddress=java.net.InetAddress.getLocalHost();
// Maybe something like that ??
netif = java.net.NetworkInterface.getByName("NameOfAMachineWithJVM");
Thanks in advance for your help