Advertise `to` port when `address_mode="alloc"`
Open
theme/cni
theme/networking
type/bug
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### Nomad version
Nomad v1.1.0-dev
### Issue
When using `service.address_mode="alloc"` the *host port* is advertised instead of the `to` port specified in the group network stanza.
Since `address_mode="alloc"` explicitly uses the group network's address, it should also use the `to` port instead of the host port.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.