Unable to connect to mongodb server

I was doing Lab 001 and connection string was "mongodb+srv://m001-student:m001-mongodb-basics@cluster0-jxeqq.mongodb.net/test" and i just opened the mongodb compass and then add the required fields (auto added due to copy option) but still i am unable to connect it to the server.

Woah! just connected now. i just change the Read Preference form Primary to Primary Preferred