2
기본 포트에서 mongodb를 취소했다가 다시 시작하면 문제가 없습니다. 내 27018
포트에서 이렇게하면
, 내 bash는 창에 다시 연결 보인다 나는 다시 시작의 끝에서이 문장을 얻을 :mongod 서비스를 중지했다가 다시 시작하면 응용 프로그램 오류가 발생하는 이유
initandlisten] waiting for connections on port 27018
websvr] web admin interface listening on port 28018
하지만 난 내 응용 프로그램을 실행할 때 나는
같은 오류를 얻을Operation failed with the following exception: connection closed
및
Operation failed with the following exception: Broken pipe - send(2)
:10:in `synchronize'
"응용 프로그램이 기본 포트 27017에서 monogdb를 사용하도록 구성된 경우 mongodb 재시작시 다시 연결되지만 포트 27018 용으로 구성되지 않은 경우"라고 말하고 있습니까? 나는 너를 믿지 않는다.) – oma