简体   繁体   中英

Cannot open minikube dashboard from the VM on my local machine

I have installed minikube on my linux server on my Oracle VM. I have tried opening the dashboard, but I can't open it open on my local machine.

The process I follow:

  1. minikube start
  2. minikube dashboard
Enabling dashboard ...
Verifying dashboard health ...
Launching proxy ...
Verifying proxy health ...
  1. After this, it gives me a url ( http://127.0.0.1:44987/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:proxy/ )

When I tried opening this mentioned url manually on my local machine (Chrome or Firefox) it doesn't open.

Operating System: Windows

Driver: Docker

If you can curl http://127.0.0.1:44987 from the VM, then you need to open the (random?) port-forwarded address on your VM software (or Oracle Cloud?)

In other words, by default, the printed address is local to that Linux machine, not to your Windows host, and minikube doesn't know its running in a VM under Windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM