Even after disabling ipv6 on my linux machine and restarting network services, and not having an ipv6 address assigned to an interface, one of my daemon (cassandra to be specific)is using an ipv4 mapped ipv6 address when checking in netstat, like ::ffff:10.xxx.x.xx:9042
I checked strace, and it is using sa_family=AF_INET, sin_port=htons(44315), sin_addr=inet_addr("127.0.0.1")
and is not using AF_INET6
. Is it that ipv6 is still active? Why is this required?
I have asked this question in Networkengineering as well, as I am not sure where to ask. Apologies for that,and please delete the one in the irrelevant section.