<p>I used kubernetes hard way and managed to deploy a cluster successfully with kubernetes 1.18.6</p>
<p>I used vmware and kubernetes 1.18.6. I deployed metric-server and kubernets dashboard</p>
<p>I used this command --&gt;  kubectl proxy --address='0.0.0.0' --port=8001 --accept-hosts='^*$' to startup kuberenetes dashboard</p>
<p>Then I used below url to access kubernes dashboard from my master node</p>
<pre><code>http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/
</code></pre>
<p>But I'm getting below error in my browser</p>
<pre><code>Error trying to reach service: 'dial tcp 10.44.0.2:8443: connect: connection refused'
</code></pre>
<p>But I can access kubernetes dashboard without any issue on my worker nodes using the url <a href="https://10.44.0.2:8443/" rel="noreferrer">https://10.44.0.2:8443/</a></p>
<p>What am I missing ?</p>
<p>Why I can't access kubernetes dashboard normal way ?</p>
<p>I created another cluster with kubeadm tool and I can access kubernetes dashboard outside of the cluster.</p>
<p>I have weave and coredns configured and I don't see any errors on them.
I did a smoke test and its all working properly. I even deployed wordpress and its also working properly.</p>
<p>All of my configurations are in <code>https://github.com/godomainz/kubernetes-the-hard-way.git feature/Feature-1.18.6</code> branch</p>
<p>Guest OS : Ubuntu 18.04<br>
Cluster environment used : VMWare workstation<br>
Host PC: Windowd 10 Pro(i7 processor,64GB Ram)<br>
Each VM has 15GB RAM with 8 Cores<br>
Kubernetes version used : 1.18.6</p>

AMendis
<p>Try running the service on a different port</p>
<pre><code>kubectl proxy --address='0.0.0.0' --port=8002 --accept-hosts='.*'
</code></pre>
<p>If this does not work then another Quick fix, edit the kubernetes-dashboard yaml file &gt;&gt; selector type is &quot;ClusterIP&quot; to &quot;NodePort&quot; if you are running on localhost.</p>
