Skip to content

fix(client): advertise a host when binding to all interfaces - #6022

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/register-wildcard-listener-hosts
Nov 28, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/register-wildcard-listener-hosts

Conversation

@Aminark

@Aminark Aminark commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

With server.address=0.0.0.0 and IP-based registration, the client puts 0.0.0.0 in the service URL it sends to the admin server. The same happens with an explicit :: listener or a wildcard management listener on a separate port. Those addresses describe where the server listens and do not identify the instance to a remote admin server.

Use the normal local-host selection for a wildcard service listener. A wildcard management listener uses the service host, just as it does when no management address is configured.

The parameterized test checks the service and health URLs for IPv4 and IPv6 wildcard listeners and the management URL when the service has an explicit address. All 86 client module tests passed locally.

@Aminark
Aminark requested a review from a team as a code owner November 28, 2026 14:51
@SteKoe
SteKoe merged commit 75133cc into codecentric:master Nov 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants