Apache dose not work in swarm mode

Hello Guys,

My question is that:
My Apache Web Server goes well in docker bridge network with docker compose up -d. But is not accessable in docker swarm mode. But my iphone and ipad can still visit this default website without problem.

Expected behaviour:
The Browser supposed to open a Apache default welcom page.

Error from Browser:
But I got this Time Out Error Error from Browser:

(failed)net::ERR_TIMED_OUT

My Deployment:
I use docker stack to deploy docker-compose file:

version: “3.8”
services:

apache2:
image: guyq1997/apache2-shibd-dhbw:latest
volumes:
- “/etc/apache2/sites-enabled/000-default.conf:/etc/apache2/sites-enabled/000-default.conf”
- “/var/run/docker.sock:/var/run/docker.sock”
- “/etc/letsencrypt/live/fullchain.pem:/etc/letsencrypt/live/fullchain.pem”
- “/etc/letsencrypt/live/privkey.pem:/etc/letsencrypt/live/privkey.pem”
- “/etc/ssl/certs/dhparams.pem:/etc/ssl/certs/dhparams.pem”
command: [“apache2ctl”, “-D”, “FOREGROUND”]
ports:
- “443:443”
- “80:80”
networks:
- jupyterhub_network2
deploy:
placement:
constraints:
- node.role == manager
networks:
jupyterhub_network2:
name: jupyterhub_network2
driver: overlay
attachable: true

Maybe start by formatting your code/config with 3 backticks before/after to improve readability. In yaml every space matters.