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