mongodb Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :_FreeSpider公众号的博客-CSDN博客
![MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 - #29 by steevej - Ops and Admin - MongoDB Developer Community Forums MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 - #29 by steevej - Ops and Admin - MongoDB Developer Community Forums](https://www.mongodb.com/community/forums/uploads/default/original/3X/1/4/145be93bcfdf8ade00717d569a94b65c870bf649.png)
MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 - #29 by steevej - Ops and Admin - MongoDB Developer Community Forums
![MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 - Ops and Admin - MongoDB Developer Community Forums MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 - Ops and Admin - MongoDB Developer Community Forums](https://www.mongodb.com/community/forums/uploads/default/original/3X/e/4/e43f1325113d385d2f6bc8fd580903877f71e881.png)
MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 - Ops and Admin - MongoDB Developer Community Forums
![MongoDB won't start as a windows service, but will start at the command line - Ops and Admin - MongoDB Developer Community Forums MongoDB won't start as a windows service, but will start at the command line - Ops and Admin - MongoDB Developer Community Forums](https://www.mongodb.com/community/forums/uploads/default/original/1X/af901ce53a15e8a50556e8c94949383decab9dd5.jpeg)