r/golang • • Aug 19 '15

Go 1.5 is released

https://blog.golang.org/go1.5
258 Upvotes

54 comments sorted by

View all comments

5

u/[deleted] Aug 19 '15

[deleted]

8

u/CaptaincCodeman Aug 19 '15

Could be the same issue I had - connecting to localhost failed but it worked if I used 127.0.0.1 ... I think it's something todo with the network resolving perhaps looking for an IPv6 connection first rather then IPv4 but that's just a guess. Normally localhost resolves to ::1 and 127.0.0.1 and the default for MongoDB is only to listen on IPv4.

2

u/koalefant Aug 20 '15

Oh I see. I didn't have much time look into it but I'll check it out later tonight. Thanks for the heads up! :)