I finally found info I was looking for:
- In devcontainer, you have to edit
/.devcontainer/devcontainer.json
and change theappPort
line to"appPort": [8123, "3333:3333/udp", "7778:7778/udp"],
- In my “normal instance” which is a Home Assistant VM, it just works! no port magic needed