Redis not accessible behind traefik

Hi all,

I have some issues when trying to access a single redis server running on docker; If I expose a port directly from Docker it works, if I configure with those labels (see below) I get an error with the connection.

Did someone already succeed with it ?

toml file

[entryPoints.caching]
address = ":6379"

yml file

- "traefik.enable=true"
- "traefik.docker.network=traefik-public"
- "traefik.constraint-label=traefik-public"
- "traefik.tcp.routers.redis-dev-connect.rule=HostSNI(`*`)"
- "traefik.tcp.services.redis-dev-connect.loadbalancer.server.port=6379"
- "traefik.tcp.routers.redis-dev-connect.entrypoints=caching"
- "traefik.tcp.routers.redis-dev-connect.service=redis-dev-connect"

Regards,