When service name is correct and curl fails when it’s accessed within a pod in the cluster, one common mistake is that the service assumes a port and target port (e.g., 8080) but the pod has no specific port and its image is nginx, which has default port 80. To fix that, modify the service to reflect the right port number.