Let’s say I have a machine inside my private network, behind a Firewall with all traffic to the Internet Restricted.
What Hosts/Ports do I need to allow so an App can connect to my MongoDB Serverless Instance?
Currently I have an Instance in “AWS / us-east-1” and I can’t reach it from a server inside our Network, I’m being asked to provide Host & Port to whitelist. Initially I took the name from the connection string.
Example: “mongodb+srv://dev:1234678@mydb.iuytw.mongodb.net/my-awesome-db?retryWrites=true&w=majority”
I asked the guys from Networking to whitelist:
Host: mydb.iuytw.mongodb.net
Ports: 27015, 27016, 27017
However it didn’t work. I’ve read that for clusters you need the lists of clusters but for Serverless I don’t think it’s the same. As I said, all I know is that the region is "“AWS / us-east-1”. Thanks in advance.