After the countly system runs for a period of time, Express appears
500 MongoError: connect ECONNREFUSED 127.0.0.1:27017
at Object.exports._errnoException (util.js:893:11)
at exports._exceptionWithHostPort (util.js:916:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1075:14) error,
record the problem solving steps and execute the online solution. The
first step delete the .lock file, rm /var/lib/mongodb/mongod.lock The
second step is to execute Repair mongodb mongod -repair After countly, it
is found that it still does not work.
The third step is to execute the command to reload the configuration file. mongod -f /etc/mongod.conf The problem is solved.