<p>I have two server to work as master and work node on local server network.</p>
<pre><code>*master node
  10.20.20.214
worker node
  10.20.20.218*
</code></pre>
<p>In master node, I success using kubeadm init to setup with Calico network. It report message code for me to join other node</p>
<pre><code>kubeadm join 10.20.20.214:6443 --token sy32dd.gzs4q4vi91p2o87f \
    --discovery-token-ca-cert-hash sha256:9f2eb4dc6fbc549792adada262b8aff65dd547fa9aac0890e64604df6cd31e11
</code></pre>
<p>But when I try to using this code to join work node, it seems cannot access to this ip port 10.20.20.214:6443, and report error message below.</p>
<pre><code>I0804 16:49:45.848694  111847 token.go:215] [discovery] Failed to request cluster-info, will try again: Get https://10.20.20.214:6443/api/v1/namespaces/kube-public/configmaps/cluster-info?timeout=10s: dial tcp 10.20.20.214:6443: connect: no route to host
</code></pre>

<p>The reason display on error output, no route to host 10.20.20.214. You have network connectivity problem. <br>
Try telnet to 10.20.20.214 on port 6443. worker node should have access kube-api-server component on master node on port 6443. <br>
Check this link to undrestand kubernetes use which ports.<br>
<a href="https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/</a></p>
