Skip to content
Bernard edited this page Jan 9, 2018 · 1 revision

UnhandledPromiseRejectionWarning - MongoError: failed to connect to server [localhost:27017] First i have install Docker and Mongodb with Debian 9. Then i launch the docker image democracyos/democracyos.

I have this error : (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): undefined events.js:160 throw er; // Unhandled 'error' event ^ MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

Issue : https://github.com/DemocracyOS/democracyos/issues/1478

** Wiki[Fr] : https://www.visionduweb.eu/wiki/index.php?title=Ajouter_Docker_sur_GNU_Linux#Installer_une_image_Docker_democracyos

Clone this wiki locally