how to find your ip code example
Example 1: my ip windows
//See your internal ip on any windows
Search -> Write:cmd-> command:ipconfig
Example 2: how to find ip address
import java.net.InetAddress;
import java.net.UnknownHostException;
public class FindIPaddress {
public static void main(String[] args) throws UnknownHostException {
InetAddress a = InetAddress.getLocalHost();
System.out.println(a.getHostAddress());
}
}