title: How to get local IP address in javascript html5
body: <p>I want to get Ip address of my machine in javascript which is further refer in my html page.
  I have refer all the suggested links but I do not get any answer.
  I do not want to use any link to get the IP so i tried with following line of code in my javascript </p>
  
  <pre><code>var ip = '&lt;%=request.getRemoteAddr();%&gt;';
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var ip = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
  var ip = Request.UserHostAddress.ToString();
  </code></pre>
  
  <p>But do not get the result.</p>
  
  <p>Please help me to get the solution.I want to include this javascript in my html page and I do not want to use any link to get the IP.</p>
  
  <p><code>All the links I have gone through gives the external links to get the IP address and I do not want to use any external link to get the IP.</code></p>