<p>I have installed and configure Kubernates in my Ubuntu virtual machine</p>

<p>Reference: <a href="https://www.edureka.co/blog/install-kubernetes-on-ubuntu" rel="nofollow noreferrer">Document Link</a></p>

<p>Started kubernetes proxy using below command</p>

<pre><code>kubectl proxy --address='0.0.0.0'
</code></pre>

<p>I'm able to access my dashboard using <a href="http://localhost:8001" rel="nofollow noreferrer">http://localhost:8001</a> link on localhost when I'm trying to access the dashboard from outside using <a href="http://192.168.33.30:8001/" rel="nofollow noreferrer">http://192.168.33.30:8001/</a> link getting following Error</p>

<pre><code>&lt;h3&gt;Unauthorized&lt;/h3&gt;
</code></pre>

<p>Can anyone help me on this?</p>

Ashwani
<p>It works using below command:</p>

<pre><code>kubectl proxy --address='0.0.0.0' --accept-hosts='^.*$' --port=8001
</code></pre>

<p>After this, I am able to access the Kubernetes dashboard outside using VM IP address</p>
