title: How to find server ip address in javascript
body: <p>I have created a chrome application which acts like a server.For that i need to find local ip address in javascript.I tried below code.but i am unable to find ip address of server.Is there any other possible way to find ip address in javascript.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
   var userip;
  &lt;/script&gt;
    ...
    &lt;script type="text/javascript" src="https://l2.io/ip.js?var=userip"&gt;       &lt;/script&gt;
     ...
     &lt;script type="text/javascript"&gt;
    document.write("Your IP is :", userip);
    &lt;/script&gt;
  </code></pre>