get current node IP(network) address

hello,i am looking at how to get the current IP address of the node without connecting to a server.i.e at the host itself similar to running the "ipconfig" utility or the "ifconfig" .
[197 byte] By [varun_tayura] at [2007-11-26 18:46:33]
# 1
http://java.sun.com/j2se/1.5.0/docs/api/java/net/InetAddress.html#getLocalHost()
ejpa at 2007-7-9 6:20:28 > top of Java-index,Core,Core APIs...