mongodb from cPanel can't connect cloud

Hello everyone, so i’m trying to launch my website on my Cpanel but can’t quite manage to make it.

here is the error it gives me :

Failed to connected to the database: MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you’re trying to access the database from an IP that isn’t whitelisted. Make sure your current IP address is on your Atlas cluster’s IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/

I already allowed all IP’s on my cloud atlas as well.

I actually don’t know what else to do here

If someone has ideas, it would be wonderful, thank you !