To change the router port I need to change its config.yml and then restart the router.
Unfortunately I need to restart all other routers also.
I miss something?
To change the router port I need to change its config.yml and then restart the router.
Unfortunately I need to restart all other routers also.
I miss something?
Interesting. To me if that happens, that would sound like a small bug we have never noticed before. What makes you think you needed to restart the other routers? I wouldn’t expect you to have to do that. How’d you test/make sure this is the case?
I have just modified the config.yml on one host, and then restarted the router.
After that I got errors on all other routers. In the syslog we can clearly see that the all other routers continue to dial the old port number. Thus I have to restart all routers.
We have “connection refused” because the port has been changed.
Aug 03 21:16:04 ziti[434]: {"error":"error dialing outgoing link [l/2aRYhYZNULojXxtzdlQXjD@19]: error dialing payload channel for [l/2aRYhYZNULojXxtzdlQXjD]: dial tcp XXX.XXX.XXX.XXX:OLDPORT: connect: connection refused","file":"github.com/openziti/ziti/router/link/link_registry.go:558","func":"github.com/openziti/ziti/router/link.(*linkRegistryImpl).evaluateLinkState.func1","iteration":19,"key":"default-\u003etls:JI-BBYbyIW-\u003eens3","level":"error","linkId":"2aRYhYZNULojXxtzdlQXjD","msg":"error dialing link","time":"2025-08-03T21:16:04.298Z"}
Aug 03 21:33:14 ziti[376]: {"error":"error dialing outgoing link [l/11Tv7fWZpwr4BwZVhszMMd@21]: error dialing payload channel for [l/11Tv7fWZpwr4BwZVhszMMd]: dial tcp XXX.XXX.XXX.XXX:OLDPORT: connect: connection refused","file":"github.com/openziti/ziti/router/link/link_registry.go:558","func":"github.com/openziti/ziti/router/link.(*linkRegistryImpl).evaluateLinkState.func1","iteration":21,"key":"default-\u003etls:7H8BaaKm9F-\u003eens3","level":"error","linkId":"11Tv7fWZpwr4BwZVhszMMd","msg":"error dialing link","time":"2025-08-03T21:33:14.996Z"}
Hi @Rantanplan
I was able to reproduce this locally. I’ve got a fix which should be in the next release: Other routers don't react to link listener address changes · Issue #3199 · openziti/ziti · GitHub
Thank you for the bug report!
Paul