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

listen address under IPv6 #780

Open
coelner opened this issue Jan 6, 2023 · 0 comments
Open

listen address under IPv6 #780

coelner opened this issue Jan 6, 2023 · 0 comments

Comments

@coelner
Copy link

coelner commented Jan 6, 2023

related to: syncthing/syncthing#7581
related to: syncthing/syncthing#2316
and here: https://github.com/golang/go/blob/d26fc68aa10dc8eda5ccdcc80d790e7df2fd9823/src/net/url/url.go#L223-L235

There ( https://github.com/syncthing/docs/blob/main/users/config.rst?plain=1#L1423 ) could be a hint, that you need to replace the single % with the %25. Especially the link-local IPv6 address needs it.

TCP IPv6 address and port (tcp6://[2001:db8::42]:22000, tcp6://[fe80::42:deff:fed4:b1bd]%25enp0s8)
This results in Syncthing listening on the specified address and port, IPv6
only. In the case of binding to a specific interface, the scope ID is needed and is added after the IPv6 address + #25 + scopeID

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