Don’t forget the port number when replicating CouchDB

In the afternoon I needed to replicate a database  from my co-worker’s CoudhDB using CouchDBX. In the replicator, I entered my co-worker’s database’s path like the following:

And I selected to replicate to one of my existing databases.  Everything seemed to be right (I could ping and telnet my co-worker’s IP and CouchDB port 5984 without problem), but CouchDBX returned error 500, could not connect to remote database.

After a series of diagnostics, we finally realized, we forgot to put the port number in the path of remote database. When we changed the database path to,  everything just worked very well.

I’m sharing this since I bet many people may encounter the same problem. Hope this is helpful.

One thought on “Don’t forget the port number when replicating CouchDB

Leave a Reply

Your email address will not be published. Required fields are marked *