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

前端 未结 8 1284
灰色年华
灰色年华 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条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 17:31

    Windows

    • Open task manager.
    • click on the services tab.
    • Search for MongoDB service.
    • After selecting click on the 'view services' tab.
    • Search for MongoDB server.
    • After Selecting click on the Run button on the top left side menu.

    And you are good to go.

提交回复
热议问题