Wl ip problem MongoDB

Hello as soon as I run the node. in my visual studio this shows me this error: 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/, the problem and that I have tried everything, I have my ip and j I even try to give access to everyone it does not help me please

Most likely your while listed the IP address of your PC which most of the time is not the IP seen by Atlas due to NAT or VPN routing. You have to allow access from the public IP. You may determine it with https://whatismyipaddress.com/. You may allow access from anywhere.

In addition, since you post this issue in M103, then I assume that you must be using the IDE. The VM of the IDE does not have a same public IP as your PC so you should allow access from anywhere for simplicity.

However, the purpose of M103 is to administrate local instance of the mongod server. Your Atlas cluster is useless for this course.

Bonjour, et bien figurer vous que je ne me suis pas tromper au niveau de mon ip ce n’est non celle de mon pc mais bien celle de ma box,

Post a screenshot of what you are doing that shows the issue you are having.