Hello. Greetings.
I have two organizations on my account. One is for projects of the company I work for and the other I created as a playground.
I’m currently without Fiber, so my mobile hotspot keeps changing the IP.
I’ve decided to add a dedicated IP from my VPN Provider.
Now I can see my dedicated IP if I use services such as whatsmyip and so on.
If I go to my playground and allow this IP, I can connect with no problems whatsoever.
But when I ask my project owner to add this IP to my company’s project, I can’t connect.
And this is the error I get:
❯ mongosh “mongodb+srv://company.mongodb.net/?authSource=%24external&authMechanism=MONGODB-X509” --apiVersion 1 --tls --tlsCertificateKeyFile dist/db/mongoTlsCertificate.pem
Current Mongosh Log ID: ************
Connecting to: mongodb+srv://company.mongodb.net/?authSource=%24external&authMechanism=MONGODB-X509&tls=true&tlsCertificateKeyFile=dist%2Fdb%2FmongoTlsCertificate.pem&appName=mongosh+1.10.1
MongoServerSelectionError: connection to ..**.78:27017 closed. It looks like this is a MongoDB Atlas cluster. Please ensure that your Network Access List allows connections from your IP.
Any ideas on why this happens??