First, let's take a look at the map to see if the parents have the same connection problem. I have met two times and felt it necessary to record it. Ready for future viewing.
Analysis reason: This is the start of the Shell editor when the problem occurs, I analyze he may be a server connection problem.
Workaround: In the MONGO installation file, create a mongo.config file that reads as follows:
If you start MONGO every time, it will be a very troublesome thing to start from CMD. It is convenient to start with a batch file.
First understand the order, start the Mongod application first. Then run the config file that you just created. Finally run the Mongo.exe file
This allows you to create two bat files.
Named Mongodb.bat and Mongodb27017.bat respectively.
Mongodb.bat
Mongodb27017.bat
At last. So the problem is solved. Again this process, first of all do not hate the problem, no problem of learning is no ups and downs. That's not the point. In your analysis to solve the results of the process, must have been a calm and toughness. Come on!
Start MONGO because the target computer is actively rejecting, unable to connect--mongodb connection error Resolution