![]() ![]() I NETWORK All nodes for set Field-shard-0 are down. W NETWORK Failed to connect to 34.211.199.170:27017 after 5000ms milliseconds, giving up. W NETWORK No primary detected for set Field-shard-0 On Mongo Compass I get the following error :Ĭonnection URI : : connect ECONNREFUSED 52.42.97.161:27017įrom command line : Command : mongo "mongodb://:27017" -ssl -authenticationDatabase admin -username -password Įrror : W NETWORK Failed to connect to 54.148.205.233:27017 after 5000ms milliseconds, giving up. I have whitelisted my public IP address on the Mongo Atlas server but still unable to connect. I have tried through multiple options, from Mongo Compass, command line, through code snippet. When I disconnect from the VPN and try, it works fine. I am unable to connect to the server when I am on VPN(company network). My Mongo database is hosted on MongoDB Atlas cloud server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |