I have the following: 1. Windows 10 OS -- Host Machine 2. Oracle VirtualBox -- Guest Machine 3. A linux Server (ubuntu) 4. Minikube on Ubuntu for Kubernetes
I have written a simple nodejs app which should run on port 8087 inside a virtual box. The nodeapp is exposed via kubernetes service and then I have used "kubectl port-forward" to forward the request to kubernetes nodejs pod.
Now, if I do a curl localhost:9000 from my guest machine(ubuntu), I get a response back from the nodejs app. however when I try to do a curl from my host machine (windows) I do not get any response. I have used NAT connection and port forwarded from my host machine to guest machine on port 9000. Can anyone please help me why I am unable to access the 9000 port on my hst machnine?