Can't bind Serf agent to IPv6 address
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 609
- Avg merge
- 15h 1m
- Merged PRs (30d)
- 3
Description
Hello,
I'm trying to launch a serf agent while binding it to an IPv6 address using Serf 0.8.2. I've tried using the following commands without luck:
serf agent -bind=[$IPv6_ADDRESS]
serf agent -bind=[$IPv6_ADDRESS]:7946
Both of these commands work if I use the localhost address [::1], but other IPv6 addresses on my machine always cause the following issue:
==> Starting Serf agent...
==> Failed to start the Serf agent: Error creating Serf: Failed to create memberlist: Could not set up network transport: failed to obtain an address: Failed to start TCP listener
Using the advertise flag instead of bind works with IPv6 though. Is this expected/intended behavior?
Contributor guide
Assessment
This issue has not been assessed yet.