B
BigZero
Hello,
how do i get local machine ip,
I tried this one the following code
InetAddress group = InetAddress.getByName("localhost");
System.out.println("\nip"+add.getHostAddress().toString());
it returns loopback ip ie 127.0.0.1
so plz any one can help me.....!
Thanks
Vijay
how do i get local machine ip,
I tried this one the following code
InetAddress group = InetAddress.getByName("localhost");
System.out.println("\nip"+add.getHostAddress().toString());
it returns loopback ip ie 127.0.0.1
so plz any one can help me.....!
Thanks
Vijay