Different ip on PC and on mobile

Hi there,

Your system shows different ip from pc and mobile when connecting even same wifi.

This is test page using following code;

if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {</b>




When I display on PC, it shows:


When I display on mobile, it shows:


Please fix this! Thanks.

There is nothing to fix, those devices have different IPv6 addresses. IPv6 is a vastly larger address space, so unlike IPv4 every device gets it’s own IP.

1 Like

Then Cloudflare should have option to make it ipv4, if we dont use Cloudflare they are same IPs.

You can disable IPv6 via the API if you really wanted to… I have no idea why one would want to however as it slows performance for mobile devices and provides no benefit.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.