It seems that "localhost" and other names that lookup ipv6 may fail to work from libcouchbase.
Have you verified that you have a SERVER listening on an IPv6 endpoint?
i'm experiencing issues with resolve localhost on windows 2k8 server, which seems like binding localhost to ipv6 address: https://gist.github.com/3427633
But the server is listening on ipv4 address https://gist.github.com/3427669
Do you think it is the libcouchbase issue?
From what I understand the erlang layer in the server have problems with the IPv6 stuff so it doesn't bind to an ipv6 address. I guess the workaround for now would be to encourage users to use 127.0.0.1 instead of localhost for now :'(
Workaround for now is to use ipv4.
For example we can have setting in client libraries to only ask for ipv4 addresses when resolving hostname -> address
Thinking about it more.
Yes server sucks at ipv6 support, but even if resolver gives you ipv6 name for localhost it should not ever prevent client from working. I.e. it needs to try ipv4 after ipv6 fails.
I actually thought we would try all of the addresses for the name, but I'll look into the code..
CCBC-80 defaults to IPv4