mongo - couldn't connect to server 127.0.0.1:27017

后端 未结 30 2415
故里飘歌
故里飘歌 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:34

    This error is what you would see if the mongo shell was not able to talk to the mongod server.

    This could be because the address was wrong (host or IP) or that it was not running. One thing to note is the log trace provided does not cover the "Fri Nov 9 16:44:06" of your mongo timestamp.

    Can you:

    1. Provide the command line arguments (if any) used to start your mongod process
    2. Provide the log file activity from the mongod startup as well as logs during the mongo shell startup attempt?
    3. Confirm that your mongod process is being started on the same machine as the mongo shell?

提交回复
热议问题