It looks like this is a MongoDB Atlas cluster. Please ensure that your IP whitelist allows connections from your network.
Hi @Amanullah_83444,
Please share the entire output and also the connection string that you are using along with the password.
Have you whitelisted the IP in atlas as mentioned in this Chapter 2: Lab 2.0: Create an Atlas Sandbox Cluster ?
~ Shubham