# How to use public ip and port visit traefik dashboard?

**URL:** <https://community.traefik.io/t/how-to-use-public-ip-and-port-visit-traefik-dashboard/15517>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress\
**Created:** [August 23, 2022, 12:20pm UTC](https://community.traefik.io/t/how-to-use-public-ip-and-port-visit-traefik-dashboard/15517 "2022-08-23T12:20:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliuq](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/aliuq/32/5775_2.png) [@aliuq](https://community.traefik.io/u/aliuq)\
**Post date:** [August 23, 2022, 12:20pm UTC](https://community.traefik.io/t/how-to-use-public-ip-and-port-visit-traefik-dashboard/15517/1 "2022-08-23T12:20:06Z")

</div>

### What did you do?

I tried add a service, but it not works

```yaml
apiVersion: v1
kind: Service
metadata:
  name: traefik-dashboard
  namespace: kube-system
spec:
  ports:
    - protocol: TCP
      name: web
      port: 8000
      targetPort: web
  selector:
    app.kubernetes.io/name: traefik
  type: NodePort

```

### What did you see instead?

404 not found

### What version of Traefik are you using?

In k3s `v1.23.9+k3s1`, used image `rancher/mirrored-library-traefik:2.6.2`

### What is your environment & configuration?

```yaml
- args:
  - --global.checknewversion
  - --global.sendanonymoususage
  - --entrypoints.metrics.address=:9100/tcp
  - --entrypoints.traefik.address=:9000/tcp
  - --entrypoints.web.address=:8000/tcp
  - --entrypoints.websecure.address=:8443/tcp
  - --api.dashboard=true
  - --ping=true
  - --metrics.prometheus=true
  - --metrics.prometheus.entrypoint=metrics
  - --providers.kubernetescrd
  - --providers.kubernetesingress
  - --providers.kubernetesingress.ingressendpoint.publishedservice=kube-system/traefik
  - --entrypoints.websecure.http.tls=true
  image: rancher/mirrored-library-traefik:2.6.2

```
