java-tutorialsmade

Java program to find IP Address of localhost

A simple Java Program to find the localhost IP Address of your System.

To find you need to import InetAddress package.

Output of the program will be something like this,

Your IP4 Address : agur/192.168.1.104

 

Related Posts

Leave a Reply