# Unable to connect to traefik dashboard

**URL:** <https://community.traefik.io/t/unable-to-connect-to-traefik-dashboard/15837>\
**Category:** Traefik v2\
**Tags:** file, kubernetes-ingress\
**Created:** [September 20, 2022, 4:08am UTC](https://community.traefik.io/t/unable-to-connect-to-traefik-dashboard/15837 "2022-09-20T04:08:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tee](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/tee/32/5883_2.png) [@tee](https://community.traefik.io/u/tee)\
**Post date:** [September 20, 2022, 4:08am UTC](https://community.traefik.io/t/unable-to-connect-to-traefik-dashboard/15837/1 "2022-09-20T04:08:07Z")

</div>

I am trying to view the traefik dashboard but am having trouble with the current configuration I am working in. Below is the `traefik.toml` file.

```
defaultEntryPoints = ["http"]

[entryPoints]
  [entryPoints.http]
  address = ":12000"
  
  [entryPoints.api]
  address = ":13000"

  [entryPoints.ping]
  address = ":14000"

[file]
directory = "/config/dynamic"
watch = true

[providers.kubernetesIngress]
ingressClass = "data-service-fabric"

[ping]
entryPoint = "ping"

[api]
dashboard = true
insecure = true

```

I am using Kubernetes ingress in this project, and need to view the traefik container in this pod.  
There is a `traefik` container running in this pod:

```auto
NAME READY STATUS RESTARTS AGE
dsf-router-backend-78d7df89d8-rgm45 3/3 Running 0 8m36s

```

Below is the result of `kubectl get ingress | grep dsf-router-backend-http`

```auto
NAME CLASS HOSTS ADDRESS PORTS AGE
dsf-router-backend-http traefik data-service-fabric-web.local.example.com,dsf-router-mesh.local.example.com 80 27m

```

Based on the definitions above, I would expect the following url to pull up the dashboard, however I get connection refused instead.

```auto
http://dsf-router-mesh.local.example.com:13000/dashboard/

```

Any guidance here? This is using Traefik 2.5.

---

<div class="post-metadata">

**Author:** ![kevinpollet](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/kevinpollet/32/1755_2.png) [@kevinpollet](https://community.traefik.io/u/kevinpollet)\
**Post date:** [September 20, 2022, 9:27am UTC](https://community.traefik.io/t/unable-to-connect-to-traefik-dashboard/15837/2 "2022-09-20T09:27:57Z")

</div>

Hello @tee and thanks for your interest in Traefik,

It seems that you mixed up Traefik v1 and v2 configurations. To validate that your Traefik v2 configuration is valid, please use the JSON schemas as described in the following documentation: [Traefik Getting Started FAQ - Traefik](https://doc.traefik.io/traefik/getting-started/faq/#what-does-the-field-not-found-error-mean)

In order to change, the `api/dashboard` address, the configured entry point name should be `traefik` as explained in the documentation: [Traefik API Documentation - Traefik](https://doc.traefik.io/traefik/operations/api/#configuration)

Here should be the valid configuration:

```auto
[entryPoints]
  [entryPoints.http]
  address = ":12000"
  
  [entryPoints.traefik]
  address = ":13000"

  [entryPoints.ping]
  address = ":14000"

[providers]
  [providers.file]
	directory = "/config/dynamic"
	watch = true

  [providers.kubernetesIngress]
	ingressClass = "data-service-fabric"

[ping]
entryPoint = "ping"

[api]
dashboard = true
insecure = true 

```

Hope this helps!
