Common causes
Most connection failures come from one of these categories:- wrong username or password
- missing IP allowlist entry
- TLS or certificate mismatch
- bad SRV DNS resolution
- SSH tunnel configuration issues
- unsupported or malformed connection string settings
First checks to run
- Confirm the connection string is valid.
- Confirm the target deployment is reachable from your network.
- Confirm MongoDB Atlas or your firewall allows your IP.
- Confirm credentials are current.
- If you are using
mongodb+srv://, test DNS resolution separately.
