Kube-proxy issue

I have created a deployment and also created a service with nodeport and attached the service to the deployment
Now am able to curl localhost: and also through < private ip :port> but unable to curl < public ip : port>

Have you checked the firewall settings? That’s a good place to start.