At the moment I've solved the issue changing the /etc/couchdb/default.ini file on couchdb. I've set the port to 55555 instead of the default one. The ansible scripts still need to be updated.