JOYLOG

[Mongo DB] 'MongooseServerSelectionError' ํ•ด๊ฒฐ ๋ณธ๋ฌธ

D E V E L O P E R ๐Ÿ’ป/Back-end

[Mongo DB] 'MongooseServerSelectionError' ํ•ด๊ฒฐ

์ฃผํž 2021. 7. 7. 17:46

๋ฌธ์ œ ์ƒํ™ฉ

React Project์—์„œ mongo DB๋ฅผ ์—ฐ๊ฒฐํ•˜๋Š” ์—ฐ์Šต์„ ํ•˜๋˜ ์ค‘ 'MongooseServerSelectionError'๋ฅผ ๋งˆ์ฃผ์ณค๋‹ค.

 

 

ํ•ด๊ฒฐ

Mongo DB ์‚ฌ์ดํŠธ์—์„œ IP๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉด ํ•ด๊ฒฐ๋œ๋‹ค.


Network access ํƒญ์—์„œ IP๋ฅผ ์ถ”๊ฐ€ํ•˜์ž.

 

 

"ADD CURRENT IP ADDRESS" ์„ ํด๋ฆญํ•˜๋ฉด
ํ˜„์žฌ IP๊ฐ€ ์ž๋™์œผ๋กœ ๋“ค์–ด๊ฐ„๋‹ค.

 

 

ํ•ด๊ฒฐ ์™„๋ฃŒ - ๐Ÿ’ป

'D E V E L O P E R ๐Ÿ’ป > Back-end' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

์˜ํ™”์ง„ํฅ์œ„์›ํšŒ API ์‚ฌ์šฉํ•˜๊ธฐ : Fetch API  (0) 2020.09.11
Comments