7
Moderate
MongoDB · Database Server & Atlas
MongoDB server reported: Host Not Found.
Quick Answer
Error code 7 on your MongoDB Database Server & Atlas means: MongoDB server reported: Host Not Found.. This is usually fixable — see the step-by-step guide below.
Affected Models
Applies to all models
Likely Causes
How to Fix It
1
Review logs/telemetry for code 7 (HostNotFound) and capture the exact command and parameters that triggered it.
2
Retry with bounded exponential backoff and idempotency protection where possible.
3
Verify firewall/proxy/network rules and regional endpoint targeting for the workload.
4
Capture endpoint, DNS resolution, TLS handshake, and socket metrics at failure time.
5
Add monitoring for recurring HostNotFound events so future incidents are detected and triaged faster.
Pro Tip
This fix requires some technical knowledge. If you're unsure about any step, consider contacting support or a qualified technician.
Related Error Codes