简体   繁体   中英

suddenly can't connect to mongo atlas

Solved.

yesterday i can connect to mongo atlas, but today suddenly i can't connect to mongo atlas.

The error message say: 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:

this is my mongo atlas network access: 在此处输入图像描述

Solved!

i can't even use ping google.com, apt install blablabla

The problem is my server network.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM