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
net: Dial("tcp", ":port") fails on Windows #15216
Comments
Wow, interesting. I didn't know that even worked on Linux!
So does it mean localhost? Should we keep this working and add tests so we don't regress and it works on Windows? I guess so. |
This is a duplicate of #6290. Still not sure whether a wildcard address, "0.0.0.0", "::" or "", means the entire IP addressing space or any available address on the routing instance. |
What @mikioh said. Alex |
#6290 is marked as closed, but I see some issue on Windows when using the redis.Dial. not sure if my error has to do anything with the go directly, but wanted to post here if it helps anyone. I reported the issue in the redigo repo too. working NOT working My environment:
|
According to the package doc, address without host specified should be allowed, e.g.
Dial("tcp", ":80")
. But an errorconnectex: The requested address is not valid in its context
is returned on windows 10.Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?What did you do?
http://play.golang.org/p/G8gttmZyvA
What did you expect to see?
net.Dial without specifying host should cause no error.
connectex: The requested address is not valid in its context.
The text was updated successfully, but these errors were encountered: