You’re trying to access a private IP. Try getting into the cluster and then access this IP.
Or use kubectl proxy to access the service that that runs outside the cluster, this will proxy requests to your localhost port 8001 to the kubernetes API server.
Ready to master the future of cloud computing? Enroll now in our Kubernetes Certification! Gain hands-on expertise in container orchestration, scale applications effortlessly, and streamline deployment workflows with Kubernetes.