Hi @nisajthani,
Thanks for sharing the commands being used and the errors returned.
I looked around the forum and found that some people encountered similar problems due to their ISP blocking port 2701. How do I check if that is the case?
I assume meant 27017 here as your commands used state port 27017. However, please correct me if I am wrong.
One way can be to use the http://portquiz.net:27017 website. From the client attempting to connect to the Atlas cluster, you can either visit the above website and if it loads it would indicate that you can connect to port 27017.
Alternatively, you can run:
curl http://portquiz.net:27017
If successful, you should receive response similar to the following:
Port 27017 test successful!
Your IP: 172.12.34.123
Hope this helps.
Best Regards,
Jason