Dashboard returns 404 when port is different than 8080

I'm trying to setup traefic for my app and no matter what i tried, dashboard would not work when i change port, so i decided to start from scratch and i took this sample from documentation

version: "3.3"

services:

  traefik:
    image: "traefik:v3.2"
    container_name: "traefik-demo"
    command:
      - "--log.level=DEBUG"
      - "--api.insecure=true"
      - "--api.dashboard=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--entryPoints.web.address=:80"
      - "--entryPoints.dashboard.address=:9090" 
    ports:
      - "80:80"
      - "9090:9090"
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock:ro"

  whoami:
    image: "traefik/whoami"
    container_name: "simple-service"
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.whoami.rule=Host(`whoami.localhost`)"
      - "traefik.http.routers.whoami.entrypoints=web"

when i use port 8080 as in documentation, i can access dashboard.
when i change it to 9090, i get 404 error and there is no traces of request in traefik logs.
Can someone help what i'm doing wrong?

When insecure mode is enabled, one can access the dashboard on the traefik port (default: 8080 ) of the Traefik instance, at the following URL: http://<Traefik IP>:8080/dashboard/ (trailing slash is mandatory).

Doc

insecure will automatically create an entrypoint on 8080. You could use ports: 9090:8080.

Or don’t use insecure, check simple Traefik example.