How do I configure this node application to use a different host for the database. I keep getting the following:
I want to run couchdb as a separate container.
Failed to initialise database(s)
Error: connect ECONNREFUSED 127.0.0.1:5984
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 5984
}
How do I configure this node application to use a different host for the database. I keep getting the following:
I want to run couchdb as a separate container. Failed to initialise database(s) Error: connect ECONNREFUSED 127.0.0.1:5984 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 5984 }
I want it to use "coup-db" instead of 127.0.0.1