Docker Swarm service something wrong

Dear Master,

I create lab with 3 node:
192.168.1.54 dockernode01.hitek.local dockernode01
192.168.1.55 dockernode02.hitek.local dockernode02
192.168.1.56 dockernode03.hitek.local dockernode03

[root@dockernode01 ~]# docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
z3jof3x6em4fbmlvs452tptuq * dockernode01 Ready Active Leader 20.10.8
75zv0m2rjt3kox6snfv82rvap dockernode02 Ready Active Reachable 20.10.8
08y8qu4tzbvxjrq0vgt5x8jfn dockernode03 Ready Active 20.10.8

I had create 2 service to test:
[root@dockernode01 ~]# docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
osarbbdwzy8c web01 replicated 2/2 httpd:latest *:80->80/tcp
q621ukt1k5tx web02 replicated 2/2 httpd:latest *:82->80/tcp

[root@dockernode02 ~]# docker service ps web01
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
4rnex5cyagny web01.1 httpd:latest dockernode03 Running Running 3 days ago
ezmk4thzrdiv web01.2 httpd:latest dockernode02 Running Running 3 days ago

With Service Web01 is running normal: when I type IP of node2 and 3

But with Service Web02 is fail.. I try to type: http://192.168.1.54:82
or http://192.168.1.54:82 .
Nothing happen.
[root@dockernode01 ~]# docker service ps web02
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
iqs9wt9wv3ob web02.1 httpd:latest dockernode01 Running Running 37 hours ago
jzk401tugzkp web02.2 httpd:latest dockernode02 Running Running 37 hours ago

Firewall allready open port 82:
[root@dockernode01 ~]# firewall-cmd --zone=public --permanent --list-port
2377/tcp 7946/udp 7946/tcp 4789/udp 443/tcp 8443/tcp 7770-7800/tcp 445/tcp 25001/tcp 44445/tcp 80/tcp 30000/tcp 82/tcp

I don’t know how to check.

Please help how to resolve.

Thanks

Henry

Hi @henryvo , sorry to hear that. Are you still having this problem?

Regards,
Vitor Jr.
KodeKloud Support