Hi Team, I have a question regarding NodePort service on the practice test. I ha . . .

Ashutosh Bhattacharya:
Hi Team, I have a question regarding NodePort service on the practice test. I have created a NodePort service, but I’m not sure how to access it from my local terminal. I can execute the following command from the control plane node: "curl http://<node ip>:<nodeport>/" but I cannot execute the same command from my local terminal. I understood from the lecture that if I have the node IP, I can access NodePort services from anywhere. Have I misunderstood something?

ARUN ARAVIND:
Is this K8s local setup or is it on cloud ?

Ashutosh Bhattacharya:
It is on the kkloud platform.

ARUN ARAVIND:
is it part of lab exercise or the playground ?

Ashutosh Bhattacharya:
It is part of lab exercise. The lab provides an url to access it but wanted to access with the node ip from my local terminal.

ARUN ARAVIND:
i am not sure if its possible.

Ashutosh Bhattacharya:
Ok! Maybe the access to the cluster node from the outside is restricted.

ARUN ARAVIND:
yes indeed, we cannot access those resource from the local machine until the SG is opened

Ashutosh Bhattacharya:
Thanks!