Open chenchenyuyu opened 5 years ago
mongo异常关闭报错: Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused : connect@src/mongo/shell/mongo.js:343:13
运行以下命令解决: sudo service mongod start sudo service mongod stop sudo service mongod restart mongo
sudo systemctl unmask mongodb