Simple Java program to find IP address of localhost in Java. This step by step example will help you to get IP address of host where your Java application is running.
Read this post on javarevisited.blogspot.com