Issue: MONGO run Error: Failed to connect 127.0.0.1:27017,reason:errno:10061 Unable to connect due to target computer actively rejecting
In the MongoDB installation process encountered problems, first understand the MongoDB installation steps
1. Download the corresponding version on the MongoDB website, https://www.mongodb.org/downloads
2. Unzip the downloaded file to the C drive or the D packing directory
3. Use the cmd command mkdir data to create the data folder under the extracted MongoDB (or create it directly under Windows Management)
4. Create the DB and log folders under the Data folder, the DB is used to store it, log logs
Program Start Mode:
1. Start the Mongod service, the D:\mongodb\bin under the direct double hit Open mongod can also, under the CMD start can also.
2. Start MONGO
I got an error when I started MONGO: Failed to connect 127.0.0.1:27017,reason:errno:10061 cannot connect because the target computer is actively rejecting
Cause: You must start Mongod before you can start MONGO
Start Mongod as a Windows service.
(This section is quoted from article: http://www.cnblogs.com/czxu/archive/2011/06/13/2080162.html)
Description: There is a description of the installation, the following are some parameters as a Windows service
Turn on the Mongod service (MONGO run Error: Failed to connect 127.0.0.1:27017,reason:errno:10061 cannot connect because the target computer is actively rejecting)