title: IP Address of the machine in PHP gives ::1 but why?
body: <p>I am trying to fetch the ip address of my machine through php. For that I am writing the code like:</p>
  
  <pre><code>&lt;?php echo  "&lt;br /&gt;".$_SERVER['REMOTE_ADDR'];?&gt;
  </code></pre>
  
  <p>But this piece of code is not working. It is returning "<code>::1</code>".
  Please help me how to get the actual IP Address.</p>