Skip to content

Document dual-stack support and :: bind-ip default#303

Open
tillrohrmann wants to merge 2 commits into
restate-1.7from
issues/286
Open

Document dual-stack support and :: bind-ip default#303
tillrohrmann wants to merge 2 commits into
restate-1.7from
issues/286

Conversation

@tillrohrmann

Copy link
Copy Markdown
Contributor

Updates the networking documentation to reflect dual-stack support, addressing #286 (which tracks restatedev/restate#4529).

Restate Server 1.7.0 changed the default bind-ip from 0.0.0.0 (IPv4 only) to :: (IPv6 unspecified), which creates a dual-stack socket accepting both IPv4 and IPv6 connections on most systems.

Changes to docs/server/networking.mdx:

  • Update the bind-ip default to :: in the global options table and per-service text.
  • Add a Dual-Stack and IPv6 section covering the dual-stack socket behavior, IPv6-only support, IPv6-preferred routable IP detection for advertised addresses, the net.ipv6.bindv6only=1 edge case, and how to restore IPv4-only behavior.
  • Update the Local Development default listen addresses to [::]:....
  • Update the CLI example to use --bind-ip=::.

Details verified against the restate source (crates/types/src/net/address.rs default ::) and the 4529 release note. The change ships in v1.7.0.

Note: this targets restate-1.7, so merging will not auto-close #286 (that only happens on merge to main).

🤖 Generated with Claude Code

Update the networking docs to reflect the default bind-ip change from
0.0.0.0 to :: in Restate Server 1.7.0, which enables dual-stack (IPv6
and IPv4) listening and IPv6-only environments. Addresses #286.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tillrohrmann tillrohrmann requested a review from AhmedSoliman June 4, 2026 16:18
bind-address = "192.168.1.10:8080"
```

### Dual-Stack and IPv6

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Maybe this is a bit too detailed in terms of what's interesting to users. @gvdongen do you have a recommendation for whether to keep or remove this section?

@gvdongen gvdongen Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You could put it as a collapsed section and call it "Advanced: Dual-stack and IPv6" and put it at the bottom of the section.

You can collapse it with <Accordion title="..."> ... </Accordion>

Explain that :: accepts IPv4 connections as IPv4-mapped IPv6 addresses
when the IPv6 stack is present, and document that a kernel with IPv6
disabled fails to bind (no automatic fallback), requiring bind-ip = 0.0.0.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tillrohrmann tillrohrmann linked an issue Jun 8, 2026 that may be closed by this pull request
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.

Update networking documentation to mention dual stack support

2 participants