connect ECONNREFUSED 127.0.0.1:27017'

前端 未结 8 1141
南旧
南旧 2021-01-13 19:36

I have that code:

var express = require(\'express\'),
    stylus = require(\'stylus\'),
    logger = require(\'morgan\'),
    bodyParser = require(\'body-par         


        
8条回答
  •  轮回少年
    2021-01-13 19:59

    run services.msc and activate the Mongodb service.

    Now Mongodb will connect

    the status of the Mongodb indicated as Running

提交回复
热议问题