Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
after creating services, listen port is bind to ipv6 not ipv4 #864
after creating services by executing this command: kubecfg -h http://10.224.106.127:8080 -c redis-master-service.json create services(apiserver, controller-manager and etcd were installed in 10.224.106.127) , in other machine which installed docker, proxy, kubelet, i found this output as follow by executing netstat -anpl | grep 10000(10000 is service port):
why port 10000 was bind to ipv6, not ipv4? is this normal? if not, how can fix this?
thanks in advance.
that's normal, and an artifact of ipv6 support, where by default tcp sockets can accept connections for v4 and v6 addresses.
See, for example, https://answers.launchpad.net/ubuntu/+source/net-tools/+question/128547 .