In the Windows environment is usually online about this, connect as follows
https://www.jianshu.com/p/cc8a768449d5
Talk about the pit in which the encounter, we follow step by step guide to operate even above, to read our operation to write their own mongo.conf configuration file and starts, you will encounter the following issues
First, I entered into under native MongoDB MongoDB own installation by cmd \ under bin \ Server \ 3.4 , when executing this command line: mongod.exe --config "d: \ MongoDB \ Server \ 3.4 \ mongo.conf" - -install
If this line is a straight copy to MongoDB command under cmd \ Server \ 3.4 \ may be garbled under the bin, it is because "-" Copy to the cmd become a full-width format, so this line command that we should hand hit console.
After resolving the problem, if there is space also being given our mongo.conf end of each line in the configuration file, given as follows:
Parsing the INI config File Error:. At The argument ( '?? to true') for the Option 'logappend' IS invalid! Valid choices are 'ON | OFF', 'yes | NO', '1 | 0' and 'to true | false'
the try 'mongod.exe --help' for more information
so when we put the configuration file spaces per line to delete this line command execution that have just hit the MongoDB service can start normal friends
Browser access connection as follows:
http://127.0.0.1:27017
Page display
It looks like you are trying to access MongoDB over HTTP on the native driver port.