diff --git a/internal/cmd/proxy.go b/internal/cmd/proxy.go index 65e50c385..8d03e14ea 100644 --- a/internal/cmd/proxy.go +++ b/internal/cmd/proxy.go @@ -368,6 +368,9 @@ func (conf *configuration) initListenAddrs(config *proxy.Config) (err error) { } for _, port := range conf.ListenPorts { + if port == 0 { + continue + } for _, ip := range addrs { addrPort := netip.AddrPortFrom(ip, uint16(port))