I play with CouchDB replication, and I am wondering how to copy a local database named "myDatabase" to a remote database at www.mySite.com, which requires ssh access and rename it to "myRemoteDatabase". How to do it?
I can log in to the local and remote server and run:
curl -X GET http://localhost:5984/
... and it will show me the result, but when I am on my local computer and I run:
curl -X GET http://my.ip.address:5984/
... or even
curl -X GET http://USER:PASSWORD@my.ip.address:5984/
I get:
curl: (7) couldn't connect to host
What am I missing in this picture?
source
share