Couldn't connect to server 127.0.0.1:27017 connection attempt failed MongoDB

前端 未结 8 1353
灰色年华
灰色年华 2021-02-04 17:05

I am working on Ubuntu OS 16.04. I am starting mongodb using commands:: sudo service mongod start and then mongo

It generated this error for m

8条回答
  •  Happy的楠姐
    2021-02-04 17:37

    For windows,

    1)Right click on the task bar and select Task Manager.

    2)Select server at the given menu

    3)Search mongoDB and select that and right click (click open services).

    4)Search mongoDB Server, select that and click "start" at the left side window

    Now it's ready to go

提交回复
热议问题