Skip to content

Add note for dual-stack listening on same port - #771

Merged
alexandratran merged 4 commits into
Consensys:mainfrom
alexandratran:770-dual-stack-port-binding
Jul 14, 2026
Merged

Add note for dual-stack listening on same port#771
alexandratran merged 4 commits into
Consensys:mainfrom
alexandratran:770-dual-stack-port-binding

Conversation

@alexandratran

@alexandratran alexandratran commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Add note clarifying behavior for listening on the same port in dual-stack mode, when the IPv6 wildcard listener (::) is configured.

fixes #770

preview: https://doc-teku-git-fork-alexandratran-770-d-7a1e8b-consensys-ddffed67.vercel.app/development/how-to/find-and-connect/configure-ipv6#listen-over-both-ipv4-and-ipv6-dual-stack


Note

Low Risk
Documentation-only changes to IPv6 dual-stack guidance; no runtime or code impact.

Overview
Updates configure-ipv6.md in the dual-stack section: clearer wording for --p2p-interface (comma-separated IPv4/IPv6, with 0.0.0.0,:: as the all-interfaces example) and a small phrasing tweak for default ports.

Adds a "Listen on the same port" admonition: when IPv6 P2P ports match their IPv4 counterparts and --p2p-interface includes ::, Teku uses one IPv6 wildcard listener per port that accepts both IPv4 and IPv6 traffic—separately for TCP, UDP discovery, and QUIC.

Reviewed by Cursor Bugbot for commit 4a1c0bb. Bugbot is set up for automated code reviews on this repo. Configure here.

@alexandratran
alexandratran requested a review from a team as a code owner July 10, 2026 20:39
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

@alexandratran is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doc-teku Ready Ready Preview, Comment Jul 13, 2026 11:05pm

Request Review

@rolfyone rolfyone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks :)

@bgravenorst bgravenorst left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
@alexandratran alexandratran reopened this Jul 14, 2026
@alexandratran
alexandratran merged commit 9ed8bba into Consensys:main Jul 14, 2026
16 of 17 checks passed
@alexandratran
alexandratran deleted the 770-dual-stack-port-binding branch July 14, 2026 18:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dual stack port binding on same port

3 participants