Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't bind Serf agent to IPv6 address #684

Open
TemG-Kristos opened this issue Apr 12, 2023 · 0 comments
Open

Can't bind Serf agent to IPv6 address #684

TemG-Kristos opened this issue Apr 12, 2023 · 0 comments

Comments

@TemG-Kristos
Copy link

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?

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

No branches or pull requests

1 participant