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.
<script type="text/javascript">
var userip;
</script>
...
<script type="text/javascript" src="https://l2.io/ip.js?var=userip"> </script>
...
<script type="text/javascript">
document.write("Your IP is :", userip);
</script>