# Traefik Not Working

**URL:** <https://community.traefik.io/t/traefik-not-working/21892>\
**Category:** Traefik v2\
**Tags:** cli, dashboard-api, letsencrypt-acme, docker-swarm\
**Created:** [March 16, 2024, 8:51pm UTC](https://community.traefik.io/t/traefik-not-working/21892 "2024-03-16T20:51:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [March 17, 2024, 9:42am UTC](https://community.traefik.io/t/traefik-not-working/21892/2 "2024-03-17T09:42:26Z")

</div>

It would be great to get a better diagnose than "not working". What’s not working? Are all containers up? Did you check Traefik dashboard?

Usually you would just expose `ports` on Traefik, not on the other services/containers. Otherwise Traefik security middlewares can be circumvented. Traefik should forward requests internally over Docker network, in which all ports are reachable.

Portainer should work with internal port 9000, check [this post](https://community.traefik.io/t/portainer-behind-traefik-bad-certificate-insecureskipverify-true-does-not-kick-in/21848/2) from this week.

Did you use `docker stack deploy`? Compare to working [simple Traefik Swarm example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-swarm-traefik).

> [@tonydattolo](#):
>
> `use of closed network connection`

might be shown during shutdown.

---

_[View the full topic](https://community.traefik.io/t/traefik-not-working/21892)._
