Unable to Access NodePort service from Browser

Hi All ,

I have deployed voting apps pod and service on port 30005 using nodeport the setup is in vagrant but how do I access vote-apps

asad@kubemaster:~$ curl http://192.168.56.2:30005
curl: (7) Failed to connect to 192.168.56.2 port 30005: Connection refused
asad@kubemaster:~$ curl 192.168.56.2:30005
curl: (7) Failed to connect to 192.168.56.2 port 30005: Connection refused
asad@kubemaster:~$ curl 192.168.56.3:30005
curl: (7) Failed to connect to 192.168.56.3 port 30005: Connection refused

❯ kubectl get pods,svc
NAME READY STATUS RESTARTS AGE
pod/voting-app-pod 1/1 Running 0 29m

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 443/TCP 25h
service/voting-service NodePort 10.106.101.143 80:30005/TCP 34m

Hi @asad.hasan2004 ,
Please first check voting app is listing on which port.