2017-02-23 12 views
1

MAMP와 함께 실행중인 내 로컬 Mac에서 mongodb를 실행 중입니다. 그러나 그것이 작동하지 않는, 내가 터미널에서 그것을 부를 때, 나는 지금 이것을 얻는다 :Mongo 연결 실패

$ mongo 
MongoDB shell version: 3.2.11 
connecting to: test 
2017-02-23T18:43:39.841+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused 
2017-02-23T18:43:39.842+0000 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 

어떤 아이디어라도?

감사합니다.

답변

0

mongo가 꺼져있는 경우 mongod을 실행하여 초기화 실패 위치를 확인하십시오.