A toolkit for orchestrating distributed systems at any scale. It includes primitives for node discovery, raft-based consensus, task scheduling and more.
Then i executed this command on node1 and executed output of this command on node2.
docker swarm join-token manager
After that;
docker node ls
output on node1 and node2:
Two node status READY, availability Active, docker version 20.10.5 etc
Two nodes are at same network. Firewall,etc is disabled. I checked required ports also.
TCP port 2377 for cluster management communications
TCP and UDP port 7946 for communication among nodes
UDP port 4789 for overlay network traffic
When i create a service 1 replicate which is running on 8000 port, service creates succesfully for example on node1.
curl node1:8000 ok
curl node2:8000 connection refused. But i execute netstat this port is open on node2. I expect docker swarm routing mesh redirect request to working instance.
Docker swarm routing mesh
I checked docker logs, etc. I didnt see anything for this case.
I have the same problem as well. I created a docker swarm cluster on 4 nodes and they couldn't connect and talk to each other. The nodes are all rhel 8.3. I have a similar setup on ubuntu 20.04 and it works
Hi everyone,
I have two nodes as docker swarm manager&worker.
Os : RHEL 8
Docker version : 20.10.5
I executed this command on node1.
Then i executed this command on node1 and executed output of this command on node2.
After that;
output on node1 and node2:
Two node status READY, availability Active, docker version 20.10.5 etc
Two nodes are at same network. Firewall,etc is disabled. I checked required ports also.
TCP port 2377 for cluster management communications
TCP and UDP port 7946 for communication among nodes
UDP port 4789 for overlay network traffic
When i create a service 1 replicate which is running on 8000 port, service creates succesfully for example on node1.
curl node2:8000 connection refused
. But i execute netstat this port is open on node2. I expect docker swarm routing mesh redirect request to working instance. Docker swarm routing meshI checked docker logs, etc. I didnt see anything for this case.
Please help, what can i do for this problem?
Thanks.