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.
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.
Comments
It's so simple. I can't believe they don't mention localhost being the only default connection, or how to change this in the "Getting started with CouchDB" document.