Friday, December 2, 2011

How to solve this problem: curl: (7) couldn't connect to host for cuuchDB

if you configure couchdb for CentOS.
please refer to http://opikanoba.org/linux/couchdb-centos6

if you ok for curl http://localhost:5984 but not for curl http://domainName:5984

change your bind IP in local.ini as follows

$ sudo vi /usr/local/etc/couchdb/local.ini

change bind 127.0.0.1 to  bind 0.0.0.0

No comments:

Post a Comment