By using below code I am able to get client IP address.
But I want to get client IP address in javascript without using any external website http:// or https:// urls.
How do I get client IP address?
$.getJSON("http://jsonip.com?callback=?", function (data) {
alert("Your ip: " + data.ip);
});
java is server side language.
Please help me.