# "field not found, node: loadbalancer" attempting to set port

**URL:** <https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650>\
**Category:** Traefik v3 (latest)\
**Tags:** docker\
**Created:** [February 11, 2026, 7:54am UTC](https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650 "2026-02-11T07:54:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohshazbot](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ohshazbot/32/11090_2.png) [@ohshazbot](https://community.traefik.io/u/ohshazbot)\
**Post date:** [February 11, 2026, 7:54am UTC](https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650/1 "2026-02-11T07:54:16Z")

</div>

Hey, first time user trying to set up a simple port 80 reverse proxy to start with, but I’m in a pickle.

I have this traefik configuration:

```auto
  9 traefik:
 10 image: traefik:latest
 11 container_name: traefik
 12 command:
 13 #- "--log.level=DEBUG"
 14 - "--api.insecure=true"
 15 - "--providers.docker=true"
 16 - "--providers.docker.exposedbydefault=false"
 17 - "--entryPoints.web.address=:80"
 18 ports:
 19 - "80:80"
 20 - "443:443"
 21 - "8080:8080"
 22 volumes:
 23 - "/var/run/docker.sock:/var/run/docker.sock:ro"

```

And these are the labels on my pihole service:

```auto
 52 - traefik.enable=true
 53 - traefik.http.routers.pihole.rule=Host(`pihole.MYDOMAIN.XYZ`)
 54 - traefik.http.routers.pihole.entrypoints=web
 55 - traefik.http.routers.pihole.loadbalancer.server.port=9080

```

I’m setting it to port 9080 as that’s what I have the internal port 80 on the service routing to. When I don’t include the …server.port= line requests to pihole.MYDOMAIN.XYZ eventually timeout with a bad gateway, logs indicate it’s routing to port 53 (also being served by the container):

```auto
 DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: http://172.18.0.3:53

```

Also not surprising, [Traefik Docker Documentation - Traefik](https://doc.traefik.io/traefik/reference/install-configuration/providers/docker/#port-detection) documents as such. However, it documents the loadbalancer.server.port as a solution, but when you do that it barfs:

```auto
 error="field not found, node: loadbalancer" 

```

Not really sure where to go from here on this one, not sure if the documentation is bad or if I hit a bug. Sha is a9890c898f379c1905ee5b28342f6b408dc863f08db2dab20e46c267d1ff463a

---

<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:** [February 11, 2026, 8:02am UTC](https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650/2 "2026-02-11T08:02:38Z")

</div>

Traefik splits label configuration between `routers` (matching) and `services` (target), check [example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-traefik-dashboard-letsencrypt):

```auto
    labels:
      - traefik.enable=true
      - traefik.http.routers.mywhoami.rule=Host(`whoami.example.com`)
      - traefik.http.services.mywhoami.loadbalancer.server.port=80
                     ^^^^^^^^

```

Note that this does not work, it implies a false sense of security, sockets are always read-write:

```auto
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock:ro"

```

---

<div class="post-metadata">

**Author:** ![ohshazbot](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ohshazbot/32/11090_2.png) [@ohshazbot](https://community.traefik.io/u/ohshazbot)\
**Post date:** [February 11, 2026, 4:10pm UTC](https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650/3 "2026-02-11T16:10:53Z")

</div>

Thanks, looks like there was some pebcak in there. And it looks like I was pulling some samples from older versions of traefik docs, totally missed the banner at the top of the page last night.

Though it appears that some of the latest documentation also has that false sense of security [Setup Traefik Proxy in Docker Standalone - Traefik](https://doc.traefik.io/traefik/setup/docker/)

---

<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:** [February 11, 2026, 5:29pm UTC](https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650/4 "2026-02-11T17:29:04Z")

</div>

Let's see for how long ([pull request](https://github.com/traefik/traefik/pull/12656)) 😉

---

<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:** [February 14, 2026, 5:29pm UTC](https://community.traefik.io/t/field-not-found-node-loadbalancer-attempting-to-set-port/29650/5 "2026-02-14T17:29:45Z")

</div>

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