-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to connect to the ZeroTierOne service HTTP API via IPv4 #2342
Comments
similar symptoms to #2151 |
I may have identified the cause while reading through #2151... Correct me if I'm wrong, but this is my current assumption: yhirose/cpp-httplib@b2203bb sets IPV6_V6ONLY to "no", making the IPv6 socket bind to both IPv4 and IPv6, leaving the IPv4 socket (or the IPv4 part of the IPv6 dual-stack socket?) unable to bind, as mentioned here. ZeroTierOne explicitly binds to both IPv4 and IPv6, this is not valid while the IPV6_V6ONLY flag is set to "no". To resolve the issue, ZeroTierOne should either:
|
@alexrsagen I am an author of cpp-httplib, and I happened to find this issue. I made a change to allow users to adjust this socket behavior. You can adjust the behavior with either |
What you expect to be happening.
Should be able to connect to http://127.0.0.1:9993 (IPv4).
What is actually happening?
Any steps to reproduce the error.
powershell -command "Test-NetConnection -ComputerName 127.0.0.1 -Port 9993"
Any relevant console output or screenshots.
What operating system and ZeroTier version. Please try the latest ZeroTier release.
Windows 11 Business, build 10.0.22631.
ZeroTierOne version 1.14.0.
The text was updated successfully, but these errors were encountered: