Add ip address but error code say "Add white list"

I make Dedicated New Cluster. and Network Access add 0.0.0.0/0 and ‘peering’ connect GCP service.

and connect to mongodb+srv://<user>:<pw>@<host>/<dbName>?retryWrites=true&w=majority

and then show error code

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 tried several solutions

  1. change network
  2. add DNS (google etc…)
  3. check http://portquiz.net: 27017
  4. make Shared New Cluster. and connect (success)
  5. open GCP VM and try to connect (success)

Why can’t it connect?

Hi Jeongwon, it’s unclear with this level of information: I recommend opening a support case

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.