Nuo Yan

Problem Solved

Recent Posts

Tags

News


  • Follow me on twitter: @nuoyan
    Make a donation to this Blog by PayPal. Thanks!






    Nuo is currently a Software Development Engineer in a Seattle-based software company.




    Locations of visitors to this page

    The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my school or employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


Community

Email Notifications

Archives

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:

http://10.0.0.3/TestDatabase

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 http://10.0.0.3:5984/TestDatabase,  everything just worked very well.

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

Comments

holly said:

That's just helpful to me since I have been troubled by yhe same problem for several days!

# August 16, 2009 8:52 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)