I am new to docker swarm. So i have one manager node and two worker nodes. I've used the following command to initialize the docker swarm
docker swarm init --advertise-addr ip_address_of_my_system
I'm trying to join other nodes to this swarm but i'm getting the following error
Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 192.168.56.101:2377: connect: connection refused"
where am i going wrong?