Hello,

My PC has ethernet card installed and assigned an IP address by myself. It
also has dial up networking to Earthlink configured as Service assigns IP
address.

Now, I have a Java pgm to retrieve the local host IP address by using
"System.out.println(InetAddress.getLocalHost().getHostAddress());", which
displays the one I assigned to NIC even I dial up to Earthlink.

My question is how can I check out the IP address assigned by Earthlink?
Outside Java and Inside Java.

thks,
wayne