I can't get user's ip adress

Hello, I need to determine the IP address on my website. I have tried using the $_SERVER[‘HTTP_CLIENT_IP’]; function. And I got IP: 172.68.50.16. This is clearly not my IP and I’m not using a proxy. How can this be fixed?

You need to restore the visitor’s IP

1 Like