I am trying to use the function "clientIp", to get the real IP of the user, but this is not returning anything. I'm using this:
$ipAddr = $this->request->clientIp();
print_r($ipAddr);die();
And print it " ::1 "
instead of the actual ip print, print it ::1
anyone ever had this problem, how can I solve?