Exception opening socket

I am getting error when I try to run the application. Please help.

Hi @Kamalpreet_Kaur_78530,

Please check your connection settings.

Are you connecting from a network where AWS is blocked ?

Can test if port 27017 is allowed?
Just go to this url:
http://portquiz.net:27017/

Kanika

The URL seems like working. PFA screenshot.

Please share the output of the below command:

 mongo mongodb+srv://mfix-3knac.mongodb.net

If not, please share the contents of application.properties file.

Kanika