无法再连接到mongoDB Atlas

无法再连接到mongoDB Atlas,mongodb,mongodb-atlas,Mongodb,Mongodb Atlas,我在Mongo Atlas有一个免费的数据库。它过去很管用,但我不知道我改变了什么,它不再管用了。我确信我已输入写入密码: Ties-MacBook-Pro:devconnector chengtie$ mongo "mongodb+srv://cluster0-jnhgq.azure.mongodb.net/test" --username cheng123 MongoDB shell version v4.0.6 Enter password: connecting to: mongod

我在Mongo Atlas有一个免费的数据库。它过去很管用,但我不知道我改变了什么,它不再管用了。我确信我已输入写入密码:

Ties-MacBook-Pro:devconnector chengtie$ mongo "mongodb+srv://cluster0-jnhgq.azure.mongodb.net/test"  --username cheng123
MongoDB shell version v4.0.6
Enter password: 
connecting to: mongodb://cluster0-shard-00-01-jnhgq.azure.mongodb.net.:27017,cluster0-shard-00-00-jnhgq.azure.mongodb.net.:27017,cluster0-shard-00-02-jnhgq.azure.mongodb.net.:27017/test?authSource=admin&gssapiServiceName=mongodb&replicaSet=Cluster0-shard-0&ssl=true
2020-02-11T14:38:51.292+0100 I NETWORK  [js] Starting new replica set monitor for Cluster0-shard-0/cluster0-shard-00-01-jnhgq.azure.mongodb.net.:27017,cluster0-shard-00-00-jnhgq.azure.mongodb.net.:27017,cluster0-shard-00-02-jnhgq.azure.mongodb.net.:27017
2020-02-11T14:39:01.342+0100 W NETWORK  [ReplicaSetMonitor-TaskExecutor] Unable to reach primary for set Cluster0-shard-0
2020-02-11T14:39:01.342+0100 I NETWORK  [ReplicaSetMonitor-TaskExecutor] Cannot reach any nodes for set Cluster0-shard-0. Please check network connectivity and the status of the set. This has happened for 1 checks in a row.
2020-02-11T14:39:16.861+0100 W NETWORK  [js] Unable to reach primary for set Cluster0-shard-0
2020-02-11T14:39:16.861+0100 I NETWORK  [js] Cannot reach any nodes for set Cluster0-shard-0. Please check network connectivity and the status of the set. This has happened for 2 checks in a row.
2020-02-11T14:39:16.861+0100 E QUERY    [js] Error: connect failed to replica set Cluster0-shard-0/cluster0-shard-00-01-jnhgq.azure.mongodb.net.:27017,cluster0-shard-00-00-jnhgq.azure.mongodb.net.:27017,cluster0-shard-00-02-jnhgq.azure.mongodb.net.:27017 :
connect@src/mongo/shell/mongo.js:343:13
@(connect):1:6
exception: connect failed
我试图将我的IP列入白名单,但仍不起作用:


有人能帮忙吗?

我找到了原因:那是因为我使用了一个无线“eduroam”,他禁止了连接。。。如果我改用4G手机的wifi,它会工作