I can't connect to MongoDB via command line

I solved this problem by clicking Connect in the Clusters view and Add Your Current IP Address, as this tutorial says: “https://www.mongodb.com/pt-br/docs/atlas/government/tutorial/allow-ip/”.

1 Like