CouchDB IPv6

CouchDB's configuration's address parameter under [httpd] maps directly to a Mochiweb parameter. It seems it only supports one IP address. So:

[httpd]
address = ::
will bind to any IPv6 address on the system.

To keep IPv4 and IPv6 connectivity, under Linux, you might need to make sure that /proc/sys/net/ipv6/bindv6only (net.ipv6.bindv6only in /etc/sysctl.conf) is 0 (see the discussion related to Debian bug 560238).

On other OSes (where V6ONLY is the default) it seems that CouchDB will be single stack.

posted: 2010-12-16 14:42

Written on December 16, 2010