Kohana ip client access

I use kohana 3.2, and I would like to access the client ip from the request class, in the documentation , I can see public static string $client_ipwhat the client ip should contain, now if I try to access it, I like it:

Request::$client_ip;

I get: string(3) "::1"it makes no sense, what am I doing wrong, or maybe it is impossible to access it?

+5
source share
1 answer

Access your script locally, your IPv6 address ::1

+8
source

All Articles