Level 122
You know that IP address is extremely unreliable?
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to get IP address during registration and i did this
'ip_address' => $request->ip()
But it saves as 172.21.0.1 i would like to confirm if this because i am using sail/localhost because that is not my actual IP
Is it possible that when i deploy this application it will use the actual IP address?
Also is there a package to get Browser details and Machine details??
You know that IP address is extremely unreliable?
Please or to participate in this conversation.