I am using minikube in VM-ware workstation 17 player (Ubuntu OS). When I expose my container on containerPort: 80, I am getting an error "curl: (7) Failed to connect to 10.244.0.49 port 80 after 21041 ms: Connection refused". Please help me to resolve my error...
I used $kubectl get pods -o wide $curl --ipv4 10.244.0.49:80 (Private ip of pod) But it is not working.