Is it possible to retrieve IP behind NAT in PHP? I am using $_SERVER[\"REMOTE_ADDR\"] for getting IP address of the client. It\'s not giving exact IP address of
$_SERVER[\"REMOTE_ADDR\"]
if they are using proxy you can use
$real_ip = $_SERVER['HTTP_X_FORWARDED_FOR']
otherwise, it is not possible