ECONNREFUSED error when connecting to mongodb from node.js

前端 未结 13 1180
不思量自难忘°
不思量自难忘° 2020-11-27 05:51

I know I\'m doing some very stupid and noobish, but I\'m hoping someone can help me set up a basic database connection to mongodb from node.js on a mac.

I\'ve instal

相关标签:
13条回答
  • 2020-11-27 06:54

    Check this post. https://stackoverflow.com/a/57589615

    It probably means that mongodb is not running. You will have to enable it through the command line or on windows run services.msc and enable mongodb.

    0 讨论(0)
提交回复
热议问题