couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <>
Subject Re: Binding to multiple addresses
Date Wed, 28 Nov 2012 11:27:47 GMT
On 28 November 2012 12:06, Lucas Toulouse <> wrote:
> Hello.
> It's working for me, Gianfranco.
> I set in my local.ini conf couchdb file. and restart it.

Hi Lucas,

Yes this is an important point. If you edit the ini file, you will
need to restart couchb daemon/service. If you use the HTTP API,
CouchDB will Do The Right Thing for you.

> Couch answer on and 10.0.0.X .
> But the *.*.*.* do not working. (not a matter) covers the spec for IPv4 and
v6 addresses in Erlang. For IPv4 dotted quad is the requirement.

> So, I follow Gianfranco, any doc improvement could be nice. I'm a new and I
> ask me the question during discover Couchdb.

We'd welcome an update if you'd like. The docs live here:

and there's some notes on doing updates here via github:

> Moreover,
> Dave , in the Curl -XPUT , you put '" and " around the
> What is the correct way ?  I use simplequote double quote  IP double
> simple. But with some character escape problems, I now use juste
> doublequote IP double quote.

Assuming you are doing this from a shell, yes you do need them - the
shell strips off the outer set.

e.g. '  ""  ' is correct.

If you test with curl -v you'll see that the shell removes the ' '
single quotes, and what we are sending through to CouchDB is actually
a JSON string snippet, hence the "" double quotes are required.

The validation of these is tightened up in 1.3.x, so it may be you can
get away without the quotes on earlier versions.


View raw message