how to get your installations ip address in java

the following does it:
java.net.InetAddress.getLocalHost();

Advertisements