# Enabling the Traefik Dashboard on a Port Other Than 8080 - Baremetal Configuration

**URL:** <https://community.traefik.io/t/enabling-the-traefik-dashboard-on-a-port-other-than-8080-baremetal-configuration/25949>\
**Category:** Traefik v3 (latest)\
**Tags:** dashboard-api, cli\
**Created:** [January 11, 2025, 3:31pm UTC](https://community.traefik.io/t/enabling-the-traefik-dashboard-on-a-port-other-than-8080-baremetal-configuration/25949 "2025-01-11T15:31:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ifrit\_prog](https://avatars.discourse-cdn.com/v4/letter/i/ed655f/32.png) [@ifrit\_prog](https://community.traefik.io/u/ifrit_prog)\
**Post date:** [January 11, 2025, 3:31pm UTC](https://community.traefik.io/t/enabling-the-traefik-dashboard-on-a-port-other-than-8080-baremetal-configuration/25949/1 "2025-01-11T15:31:33Z")

</div>

Hello everyone,

I’m working on configuring Traefik on baremetal (not Docker or Kubernetes). I’ve tried several methods to enable the dashboard on port 48080, but I haven’t been successful yet. Here’s my latest attempt:

```yaml
log:
  filePath: /var/log/traefik/traefik.log
  # level: DEBUG

global:
  checkNewVersion: true
  sendAnonymousUsage: false

api:
  dashboard: true
  insecure: true

entryPoints:
  dashboard:
    address: :48080

providers:
  file:
    filename: /etc/traefik/traefik_dynamic.yml
    watch: true

```

And the dynamic configuration file:

```yaml
http:
  routers:
    dashboard:
      entrypoints:
        - dashboard
      service: api@internal

```

The default port 8080 is already in use by another tool, and I can't change it because other systems rely on it on the same network.

Does anyone have more detailed documentation on this topic? In my opinion, the official documentation doesn’t provide clear guidance on how to configure the dashboard on a different port.

Thanks in advance!

p.s.

```bash
$ ./traefik version
Version: 3.3.1
Codename: saintnectaire
Go version: go1.23.4
Built: 2025-01-07T14:52:35Z
OS/Arch: linux/amd64

```

---

<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:** [January 11, 2025, 6:17pm UTC](https://community.traefik.io/t/enabling-the-traefik-dashboard-on-a-port-other-than-8080-baremetal-configuration/25949/2 "2025-01-11T18:17:00Z")

</div>

If you use `api.insecure: true`, then the Traefik dashboard will automatically listen on port 8080.

Remove the `insecure`, add to `router` a required `rule: Host(`traefik.example.com`)` for matching a request, then access `/dashboard/`.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/b/bd81ebdb578656e76e56ff3cc3eed021d3ba132d.png) [@system](https://community.traefik.io/u/system)\
**Post date:** [January 14, 2025, 6:56pm UTC](https://community.traefik.io/t/enabling-the-traefik-dashboard-on-a-port-other-than-8080-baremetal-configuration/25949/4 "2025-01-14T18:56:27Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
