I am currently facing an issue where the HTTP_CF_CONNECTING_IP header is only sending the visitor’s IPv6 address, but I need to retrieve the user’s original IP address in IPv4 format.
I would greatly appreciate it if anyone could provide me with guidance on how to retrieve the user’s original IP address in IPv4 format.
If the user is connecting by ipv6 then there is no ipv4 address to report.
You may want to look at Pseudo IPv4 support.
It won’t give you the “real” ipv4 when the user is connecting through IPv6 (as noted, this doesn’t exist), but it will give a fake one that is likely to be unique.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.