MongoDB link failed mongo “exception: connect failed “

  mongodb, question

The computer is WIN 10 system.
I followed this tutorial to install mongoDB.
http://www.runoob.com/mongodb …

But as soon as you enter the mongo link, you will report this error.

图片描述

It has been reloaded several times and has not been solved.
It is also useless to change dbpath. please ask the great god for help.

This is the mongodb.log log,

2018-03-27T14:00:19.299+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
 2018-03-27T14:00:19.647+0800 I CONTROL  [main] Trying to start Windows service 'MongoDB'
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] MongoDB starting : pid=10480 port=27017 dbpath=d:\mongodbData\db 64-bit host=DESKTOP-KEA31I3
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] db version v3.6.3
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips  22 Sep 2016
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] allocator: tcmalloc
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] modules: none
 2018-03-27T14:00:19.648+0800 I CONTROL  [initandlisten] build environment:
 2018-03-27T14:00:19.649+0800 I CONTROL  [initandlisten]     distmod: 2008plus-ssl
 2018-03-27T14:00:19.649+0800 I CONTROL  [initandlisten]     distarch: x86_64
 2018-03-27T14:00:19.649+0800 I CONTROL  [initandlisten]     target_arch: x86_64
 2018-03-27T14:00:19.649+0800 I CONTROL  [initandlisten] options: { service: true, storage: { dbPath: "d:\mongodbData\db" },   systemLog: { destination: "file", logAppend: true, path: "d:\mongodbData\log\mongodb.log" } }
 2018-03-27T14:00:19.651+0800 I -        [initandlisten] Detected data files in d:\mongodbData\db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
 2018-03-27T14:00:19.651+0800 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=7632M,session_max=20000,eviction=(threads_min=4,  threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),  file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
 2018-03-27T14:00:19.834+0800 I STORAGE  [initandlisten] WiredTiger message [1522130419:833660][10480:140722874245456], txn-recover: Main recovery loop: starting at 4/6272
 2018-03-27T14:00:19.970+0800 I STORAGE  [initandlisten] WiredTiger message [1522130419:970024][10480:140722874245456], txn-recover: Recovering log 4 through 5
 2018-03-27T14:00:20.046+0800 I STORAGE  [initandlisten] WiredTiger message [1522130420:46191][10480:140722874245456], txn-recover: Recovering log 5 through 5
 2018-03-27T14:00:20.172+0800 I CONTROL  [initandlisten]
 2018-03-27T14:00:20.172+0800 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
 2018-03-27T14:00:20.172+0800 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
 2018-03-27T14:00:20.172+0800 I CONTROL  [initandlisten]
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server.
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] **          Start the server with --bind_ip <address> to specify which IP
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] **          addresses it should serve responses from, or with --bind_ip_all to
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] **          bind to all interfaces. If this behavior is desired, start the
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] **          server with --bind_ip 127.0.0.1 to disable this warning.
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten]
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten]
 2018-03-27T14:00:20.173+0800 I CONTROL  [initandlisten] **   WARNING: The file system cache of this machine is configured to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance.
 2018-03-27T14:00:20.174+0800 I CONTROL  [initandlisten] See  http://dochub.mongodb.org/core/wt-windows-system-file-cache
 2018-03-27T14:00:20.174+0800 I CONTROL  [initandlisten]
 2018-03-27T14:00:20.402+0800 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory 'd:/mongodbData/db/diagnostic.data'
 2018-03-27T14:00:20.404+0800 I NETWORK  [initandlisten] waiting for connections on port 27017
 2018-03-27T14:00:20.404+0800 I STORAGE  [initandlisten] Service running

Directly under the bin folder, drag mongo to the cmd window to try it out