"Server selection timed out after 30000 ms" Unable to connect to Compass

Hello everyone,

I am unable to connect with MongoDB compass, I have filled in all the required information and when I hit connect It shows the following error “Server selection timed out after 30000 ms”. Can anyone please help me in solving this.

It would help to find if it is a local problem or atlas problem if you share the exact information you supplied to connect.

I’m sharing the screenshot of the problem with the information.

This machine is part of the M001 shared cluster replica set. It is better to use the SRV URI cluster0-jxeqq.mongodb.net

I’m still facing the same issue.

Disable your firewall if any. If you are on VPN try without VPN. If you are at work try from home. It is on your side of the connection because the server is healthy.

Have you tried paste connect string method?

Getting the error in screenshot

It worked, Thank you.

Closing this thread as the issue has been resolved.