amazon web services - Laravel 5 on EC2 returns the wrong IP -
i'm working on ec2 in vpc using laravel 5. when using geoip::getlocation($_server["remote_addr"])
73.251.135.152 ip address, when ask google ipv6 of 2601:5cb:c200:bf18:10ce:8647:1198:8e7d totally messing maxmind geo cities 73.251.135.152 unknown location.
as far can tell it's on ec2 , can not reproduce anywhere else. have solution this?
( [ip] => 73.251.135.152 [isocode] => [country] => united states [city] => [state] => [postal_code] => [lat] => 38 [lon] => -97 [timezone] => [continent] => na [default] => )
Comments
Post a Comment