title: Docker Swarm: Getting connection refuse while adding worker node
body: <p>I just started learning docker, I am facing below challenge, please let me know where I am doing wrong.</p>
  
  <p><strong>My use case:</strong> Set up docker swarm manager and add worker node to it.</p>
  
  <p><strong>Step1:</strong> To create docker manager, I used below command:</p>
  
  <pre><code>docker swarm init --advertise-addr &lt;&lt;ip_address&gt;&gt; 
  </code></pre>
  
  <p><strong>Step 2:</strong> Run below command, which gives you docker command to add worker.</p>
  
  <pre><code>docker swarm join-token worker
  </code></pre>
  
  <p>After running above command, I got output as:</p>
  
  <pre><code>docker swarm join --token SWMTKN-1-653srs28a6s48dqxnak9g9kic2cd1xyeowgnke53nf83710wfv-7u7u7u1vovahvn792814q2sts ip_address:2377
  </code></pre>
  
  <p><strong>Step3:</strong> I logged-in to worker node and ran above docker swarm join command. But I am getting below error message.</p>
  
  <p><strong>Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection er
  ror: desc = "transport: Error while dialing dial tcp ip_address:2377: connect: connection refused"</strong></p>