I had the same issue with an AWS EC2 instance where outbound IPs were limited by the security group. Allowing the IP address of following domain resolved the issue. -00-00.lacss.mongodb.net -00-01.lacss.mongodb.net" -00-02.lacss.mongodb.net"