Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Conversation

@jfroche
Copy link

@jfroche jfroche commented Sep 18, 2020

We use -dev-listen-address with 0.0.0.0 as default prefix.
This means that Vault listener factory [1] bind only on IPv4.

We would like to bind on both IPv4 and IPv6 by default.
net.Listen [1] creates servers which can be bind on both IPv4 and
IPv6 when we provide an empty host address such as ":8200".

[1] https://github.com/hashicorp/vault/blob/15863772554cbea9a75e1146a152cd9fb112bb0f/command/server/listener_tcp.go#L27
[1] https://golang.org/pkg/net/#Listen

We use `-dev-listen-address` with 0.0.0.0 as default prefix.
This means that Vault listener factory [1] bind only on IPv4.

We would like to bind on both IPv4 and IPv6 by default.
net.Listen [1] creates servers which can be bind on both IPv4 and
IPv6 when we provide an empty host address such as ":8200".

[1] https://github.com/hashicorp/vault/blob/15863772554cbea9a75e1146a152cd9fb112bb0f/command/server/listener_tcp.go#L27
[1] https://golang.org/pkg/net/#Listen
@hashicorp-cla
Copy link

hashicorp-cla commented Sep 18, 2020

CLA assistant check
All committers have signed the CLA.

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.

2 participants