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:
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.