Window installation of MongoDB exception: connect failed exception

After Mongo is installed, the following problems are found after Mongo starts (H: \MongoDB\bin)

It took a lot of searching to find the answer
Create a mongo. config // touch mongo. config with Git

Then add the following in mongo.config

## all output locations

Create the corresponding folder
in the file directory and then execute the configuration file mongod from the command line

If there is no task exception, do not close the command,
open MongDB/bin directory, then double-click mongo. Exe
, the link has been successful, and the mongo xshell can be executed

Read More: