querySrv EREFUSED _mongodb._tcp.cluster0.tpvpc.mongodb.net

mongodb+srv://sam:<password>@cluster0.tpvpc.mongodb.net/test
After changing the password and the ‘test’ name to my password and database, while connecting to my database from compass it throws this error.
Not just compass, also when am trying to connect from my application with its corresponding connection string, am having the same error.
The error which keeps on coming is :
querySrv EREFUSED _mongodb._tcp.cluster0.tpvpc.mongodb.net

Thanks A2A :slight_smile:

Is your IP address correctly whitelisted?