Repository navigation
Bind Podman ports on IPv6 to support loopback resolution - #270
Merged
Merged
Conversation
Binds ports on [::] (IPv6) instead of the default 0.0.0.0 (IPv4 only) when starting the Keycloak container for tests. This ensures localhost resolves correctly regardless of whether the system prefers IPv4 or IPv6. Closes keycloak#268 Signed-off-by: Jon Koops <jonkoops@gmail.com>
jonkoops
force-pushed
the
bind-ipv6-ports
branch
from
February 17, 2026 16:59
3ed3fb0 to
418cc3d
Compare
There was a problem hiding this comment.
Pull request overview
Updates the Playwright integration test setup to publish the Keycloak container’s ports on IPv6 ([::]) so localhost works on systems where loopback resolution prefers IPv6 (fixing the failure described in #268).
Changes:
- Adjust Podman port publishing in Playwright’s
webServercommand to bind on IPv6 ([::]) for Keycloak. - Update the test README’s documented Podman command to match the IPv6 port binding behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| test/playwright.config.ts | Publishes Keycloak’s ports on IPv6 to make localhost health checks work with IPv6-preferred loopback. |
| test/README.md | Updates the documented Podman invocation to use IPv6 bindings for the same test setup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jonkoops
enabled auto-merge (squash)
February 17, 2026 17:15
eudamniac
pushed a commit
to eudamniac/keycloak-js
that referenced
this pull request
Feb 23, 2026
Binds ports on [::] (IPv6) instead of the default 0.0.0.0 (IPv4 only) when starting the Keycloak container for tests. This ensures localhost resolves correctly regardless of whether the system prefers IPv4 or IPv6. Closes keycloak#268 Signed-off-by: Jon Koops <jonkoops@gmail.com> Signed-off-by: Uli <eudamniac@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Binds ports on
[::](IPv6) instead of the default0.0.0.0(IPv4 only) when starting the Keycloak container for tests. This ensureslocalhostresolves correctly regardless of whether the system prefers IPv4 or IPv6.Closes #268