<p>When i do this command <code>kubectl get pods --all-namespaces</code> I get this <code>Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.</code></p>
<p>All of my pods are running and ready 1/1, but when I use this <code>microk8s kubectl get service -n kube-system</code> I get</p>
<pre><code>kubernetes-dashboard        ClusterIP   10.152.183.132   &lt;none&gt;        443/TCP    6h13m
dashboard-metrics-scraper   ClusterIP   10.152.183.10    &lt;none&gt;        8000/TCP   6h13m
</code></pre>
<p>I am missing kube-dns even tho dns is enabled. Also when I type this for proxy for all ip addresses <code>microk8s kubectl proxy --accept-hosts=.* --address=0.0.0.0 &amp;</code> I only get this <code>Starting to serve on [::]:8001</code> and I am missing [1]84623 for example.</p>
<p>I am using microk8s and multipass with Hyper-V Manager on Windows, and I can't go to dashboard on the net. I am also a beginner, this is for my college paper. I saw something similar online but it was for Azure.</p>

<p>Posting answer from comments for better visibility:
Problem solved by reinstalling multipass and microk8s. Now it works.</p>
