Server selection timed out after 30000 ms
In most of your threads the information that you have provided is not enough to get the full picture of what issues you are exactly facing. So, please make sure that in your future post you include as much information as possible.
Please share the connection string you have used.
Most likely you are using Compass to connect to either the
class atlas cluster or
If you are trying to connect to the class atlas cluster then please use this connection string :
If you are trying to connect to your
sandbox cluster then please follow the instructions mentioned in this lecture - Chapter 2: Connecting to Your Sandbox Cluster from Compass.
Hope it helps!
Its working now. Thanks!