Impossible to be certain, as you have not pasted in your connection string (hide the password!) but it looks like your mongodb uri is incorrect.
On Atlas, go Data Services → Clusters → Cluster0 → Connect and learn how to formulate a URI for MongoDB
1 Like
@Aleena_Arif Is it possible something is intercepting dns requests on the network, it resolves correctly for me: