popojargo opened a new issue #17: Replication fails if mapped port are not 5984:5984 URL: https://github.com/apache/couchdb-docker/issues/17 ## Problem I ran the docker image with the following command : ```bash docker run -d -it -p 35984:5984 klaemo/couchdb:latest ``` So far, everything works fine except for replication. If I try to replicate one local db to another one, it hangs for more than 2 minutes and throw an error. ## Expected Behavior It should work normally and replicate?(Or am I misunderstanding docker ports mapping?) ## Current Behavior I hangs for a long time and throw an error. ## Possible Solution ## Steps to Reproduce (for bugs) 1. Run the following command ```bash docker run -d -it -p 35984:5984 klaemo/couchdb:latest ``` 2. Create two database (db1 and db2) 3. Try to replicate one to the other ```bash curl -X POST -d ' {"source":"http://localhost:35984/db1", "target":"http://localhost:35984/db2"}' http:/localhost:35984/_replicate -H "Content-type: application/json" ``` 4. There, it will hang... ## Context <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Your Environment - CouchDB 2.0 - Docker on Windows (v 17.03.1) - Windows 10 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
