강의

멘토링

커뮤니티

Inflearn Community Q&A

freebear12542370's profile image
freebear12542370

asked

Node and React series that you can learn by following - Basic lecture

Node React Basics Lecture #3 Mongo DB Connection

IP Access 문제

Written on

·

568

0

에러내용 :
MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/

대충 읽어볼때 현재 IP 가 클러스터 IP 리스트에 없다는 내용인 듯하더군요 
security > Network Access 에서 ADD IP ADDRESS 에 현재 IP 를 추가 하니 access 가 되긴 했습니다만.. 

이 IP 는 계속해서 변경될텐데 그떄마다 추가로 등록을 해야하는 걸까요?

reactnodejs

Answer 2

4

John Ahn님의 프로필 이미지
John Ahn
Instructor

만약 특정 아이피 등록을 원치 않으시면 0.0.0.0 으로 설정해서 모든 아이피를 허용해주실수있습니다.  !!! 


감사합니다!!

0

이것때매 카페가서 공부못했었는데!! 감사합니다!~

freebear12542370's profile image
freebear12542370

asked

Ask a question