Hi, There!
안녕하세요, 바오밥입니다.
목차
- 문제
- 솔루션
- Reference
문제
기존 맥북에서 개발하던 소스를 깃을 통해 윈도우 PC에서 개발하려고 하였는데 아래와 같은 오류가 발생하였습니다.
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.
솔루션
몽고 DB 사이트에서 연결하고자 하는 PC의 IP를 추가해 줍니다.
윈도우의 경우 cmd 창에서 ipconfig를 통해 자신의 IP를 조회할 수 있습니다.
IP를 추가한 다음 (includes your current IP address) 이 옆에 있다면, 정상적으로 자신의 IP 추가된 것입니다.
'Tech > [Trouble Shooting] Logs' 카테고리의 다른 글
#0006 TypeError: Cannot convert undefined or null to object (0) | 2021.10.07 |
---|---|
TypeError : xxxx.padStart is Not a Function (0) | 2021.10.04 |
Error: No default engine was specified and no extension was provided. (0) | 2021.09.22 |
Error: listen EADDRINUSE: address already in use :::5000 (0) | 2021.09.22 |
MongoParseError: options usecreateindex, usefindandmodify are not supported (0) | 2021.09.22 |