Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Dial("tcp", ":port") fails on Windows #15216
According to the package doc, address without host specified should be allowed, e.g.
Please answer these questions before submitting your issue. Thanks!
net.Dial without specifying host should cause no error.
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.
#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.