5

I have a device which has both IPv4 and IPv6 address. In my rails application, the request comes through Cloudflare, and the IP address extracted from X-Forwarded-For is IPv6 address. But when I sent a tracking event from JS client, it uses IPv4 by default. Is there any way to make the JS client use IPv6 instead of IPv4?

Because of this issue. I see the events from same device as coming from two different IPs. I tried converting the IPv4 to IPv6. But they are two different IPs (Not two different representations of the same IP).

Yedhu Krishnan
  • 1,167
  • 13
  • 28

0 Answers0