Hello team. I have created a NodePort type service. ``` NAME TYPE . . .

Arun:
Hello team. I have created a NodePort type service.

NAME         TYPE       CLUSTER-IP   EXTERNAL-IP   PORT(S)        AGE     SELECTOR
my-service   NodePort   10.8.5.78    <none>        80:30007/TCP   9m41s   run=nodepod

my pod is running.

NAME      READY   STATUS    RESTARTS   AGE   LABELS
nodepod   1/1     Running   0          11m   run=nodepod

This pod is scheduled on one of my 3 nodes. The node has EXTRENAL and Internal IPs. When I try to access this pod from my laptop using NodeIP (Node External IP):30007 , I don’t see any response.

curl <http://35.184.14.XXX:30007>

What am I missing? Do I have to ssh into my node and then curl from there?

Sreenivasarao Venepalli:
Hi Arun, I dont think you can access NodePort service from your laptop. Its still accessible within cluster using Node internal-ip address and nodeport. To access a service from outside cluster , we have to use of type LoadBalancer which gives external-ip or NodePort with Ingress resource

Sreenivasarao Venepalli:
The difference between NodePort and ClusterIP is like NodePort service available on both ClusterIP port and NodePort whereas type ClusterIP available only on Cluster port