mongo - couldn't connect to server 127.0.0.1:27017

后端 未结 30 2421
故里飘歌
故里飘歌 2020-11-27 09:43

I am coming from riak and redis where I never had an issue with this services starting, or to interact.

This is a pervasive problem with mongo and am rather clueless

30条回答
  •  一个人的身影
    2020-11-27 10:29

    Finally I got this is in a simple way..

    open terminal and go to the mongodb location. In my case it is

    e:\mongodb\bin> 
    

    and type the following command and press enter..

    mongod --config e:\mongodb\mongo.config
    

    Open another terminal and start the mongodb using

    mongo.exe
    

    Thats it.. you can use mongo

提交回复
热议问题