Created
September 4, 2012 10:18
-
-
Save rdmpage/3619607 to your computer and use it in GitHub Desktop.
Replicate CouchDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To ensure local CouchDB database is externally accessible first go to the configuration page | |
http://localhost:5984/_utils/config.html | |
and change bind_address (httpd section) from 127.0.0.1 to 0.0.0.0 then restart | |
CouchDB. | |
To confirm, use command | |
lsof -i -n -P | grep LISTEN | |
in Terminal. If you see something like this: | |
beam.smp 15257 rpage 9u IPv4 0x1cca7aec 0t0 TCP *:5984 (LISTEN) | |
then CouchDB is accessible. If, however, you see this: | |
beam.smp 16999 rpage 9u IPv4 0x0d65b304 0t0 TCP 127.0.0.1:5984 (LISTEN) | |
then only accessible from localhost. See http://serverfault.com/questions/79453/why-cant-i-access-my-couchdb-instance-externally-on-ubuntu-9-04-server for background. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment