node.js Could not connect to any servers in your MongoDB Atlas cluster. 에러 해결법


node.js Could not connect to any servers in your MongoDB Atlas cluster. 에러 해결법

오류 메세지 Nodejs로 mongo db를 연결하다가 처음 만나는 에러를 보았습니다. message: 'Could not connect to any servers in your MongoDB Atlas cluster. Make sure your current IP address is on your Atlas cluster\'s IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/.', 해결 방법 오류메시지대로 white list 작업을 해야합니다. ADD IP ADDRESS 를 클릭합니다. ADD CURRENT IP ADDRESS 클릭, Whitelist Entry에 입력되는 IP 주소를 확인하고 Confirm을 누릅니다. Pending에서..


원문링크 : node.js Could not connect to any servers in your MongoDB Atlas cluster. 에러 해결법