A NodePort Service answers on some nodes and times out on others.
IntermediateTroubleshootingContainers, Kubernetes, IPv6 and packet captures
Answer
Likely causes → externalTrafficPolicy: Local is set: only nodes running a ready pod for that Service answer; others drop the traffic (by design, to preserve client IP). Otherwise, security groups or host firewalls differ between nodes.
Diagnose →
kubectl get svc myapp -o jsonpath='{.spec.externalTrafficPolicy}'; echo
kubectl get pods -l app=myapp -o wide # which nodes have pods
curl -m 3 http://<node-ip>:<nodeport>/ # per node
Fix → Either use Cluster policy (any node forwards, client IP is SNATed), or keep Local and make sure the LB health-checks healthCheckNodePort so it only sends traffic to nodes with pods.
Prevent → Use Local only behind an LB that honours the health-check node port; spread pods with topology spread constraints.
More on Containers, Kubernetes, IPv6 and packet captures
After someone ran `iptables -F` (or restarted firewalld), all Docker containers lost outbound connectivity.Intermediate`docker run -p 8080:80 myapp` starts fine, but `curl localhost:8080` returns `Connection reset by peer`.BeginnerTwo containers on the default bridge network can't reach each other by container name.Beginner`docker run -p 80:80 nginx` fails with `Bind for 0.0.0.0:80 failed: port is already allocated`.BeginnerA new Kubernetes node stays `NotReady` with `container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized`.IntermediateA Service returns `Connection refused` / nothing, and `kubectl get endpoints myapp` shows `<none>`.Beginner