If you run into a "Connection Refused" error when trying to access CouchDB from somewhere other than localhost, luckily it's an easy fix.
By default CouchBD is set to bind only to 127.0.0.1, which I suppose is nice for security reasons since when you first install CouchDB it's wide open.
To fix this, open {couchdb_install_dir}etccouchdbdefault.ini and in the [httpd] section, change the bind_address value from 127.0.0.1 to 0.0.0.0 so it will be accessible from any IP.
Save the file, restart CouchDB, and you should be golden.
No comments:
Post a Comment