

This is why you need to whitelist both your home and work IP address, for example.ĭo you need to access multiple MongoDB Atlas accounts at once? Connect to as many clusters as you need with Studio 3T. You may need to access your cluster from several locations, and these locations can involve the IP address being allocated to you just for that connection. MongoDB Atlas only allows client connections to your cluster from IP addresses that are matched by entries in your project’s IP whitelist. As one user reported, even a quick power shortage was enough for his router to change its IP address. They change over time as your network assigns them to devices connecting to the internet.

The problem is that most IP addresses are dynamic, instead of static. In Studio 3T, users see the error Prematurely reached end of stream when their current IP address isn’t whitelisted on MongoDB Atlas.

In this article, we present solutions to the most common MongoDB Atlas login issues that relate to IP whitelisting. This security feature, however, has also caused many a headache when connecting to MongoDB Atlas. Whitelisting is a sensible precaution to make it difficult for an attacker to get to the point of having the opportunity to guess your credentials. When you create a MongoDB Atlas account, you are asked to “whitelist your current IP address”.
