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