im new to mongoDb altas I'm facing this issue and i have tries dns server with 8.8.8.8 and 8.8.4.4 also i removed src from connection string , cahnge version of driver too,. still its not working ,any solutions?

image

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:

image