Skip to content
Advertisement

Tag: ipv4

Ignite Communication SPI support for IPv6

I have read in multiple locations about Ignite having potential issues with IPv6 and we have been seeing similar communication issues within our Kubernetes setup with Ignite, where the communications spi seems to randomly fail. The Ignite docs state that “Ignite tries to support IPv4 and IPv6 but this can sometimes lead to issues where the cluster becomes detached.” While

How would I get only IPv4 addresses

I have the following code which is supposed to get only the IPv4 addresses of all active interfaces, but it still returns an IPv6 address on some computers. I’ve tried to specify using only IPv4 by using System.setProperty(“java.net.preferIPv4Stack” , “true”);, but this only causes getIpAddress() to return an empty list. How should I be getting the IPv4 of active interfaces

Advertisement