I'm using Valet for my local development in mac and when i try to do Request::ip(); for get the ip of visits, I keep getting 127.0.0.1, I try to using this package antonioribeiro/tracker but also does't work,
I know that what i'm getting is the ipv4 and what i want is the ipv6 but
I want to get the public address. Maybe is because valet?, because when i change the domain in valet .dev to .localhost I get 1:: Please, can someone help me, thanks.
Asked
Active
Viewed 653 times
3

Miguel Angel Aguirre
- 31
- 2
-
1Google the differences between external and local ip addresses. – tmthydvnprt Jul 24 '16 at 14:32
-
did you figure it out? – Jordi Puigdellívol Aug 17 '16 at 15:02