404 page not found when accessing service through Traefik under Docker

Somethings to check

Add the configure below for the service getting 404

– “traefik.http.services.yourservice.loadBalancer.server.port=80”

Assuming the service runs on port 80.

Also you should check how Docker host networking feature works.