<p>I can't set kubectl on another pc to control a kubernetes cluster.</p>

<p>From the cluster I get the file <code>/etc/kubernetes/admin.conf</code>,
on my local pc I use docker and start the <code>dtzar/helm-kubectl</code> image, next i copy the <code>admin.conf</code> file.</p>

<p>When I use the command inside the docker container</p>

<pre><code>kubectl --kubeconfig /home/admin.conf cluster-info
</code></pre>

<p>I get a timeout error</p>

<pre><code>Unable to connect to the server: dial tcp 10.41.1.100:6443: i/o timeout
</code></pre>

<p>from the docker image, i can ping and connect via ssh to the server! 
I don't know what to check, to fix it.
Any help is welcome</p>

<p>PS: The cluster ip is in intranet.</p>

Mex
<p>My bad, the port 6443 was closed in the office firewall, once opened everything started working!</p>
