已安裝Mongo 3.2
on Windows 8.1
。明白了:Windows上的本地Mongo - 無法連接到服務器127.0.0.1:27017,連接嘗試失敗
c:\foo>"c:\Program Files\MongoDB\Server\3.2\bin\mongo.exe"
MongoDB shell version: 3.2.5
connecting to: test
2016-04-26T13:41:31.032+0100 W NETWORK [thread1] Failed to connect to 127.0.0.1
:27017, reason: errno:10061 No connection could be made because the target machine actively refused it.
2016-04-26T13:41:31.034+0100 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
[email protected]/mongo/shell/mongo.js:229:14
@(connect):1:6
exception: connect failed
c:\foo>ver
Microsoft Windows [Version 6.3.9600]
爲什麼?
我還能說什麼?
你可以改善你的問題,以便它變得清楚你在問什麼? – Andrej