Fix bug with CouchDB port config