You were redirected from a different version of the documentation. Click here to go back.

Firewall Configuration

Accessible Ports

The Cloud Manager must be able to connect to users and MongoDB Agents over HTTP or HTTPS. MongoDB Agents must be able to connect to MongoDB client MongoDB databases.

Though Cloud Manager only requires open HTTP (or HTTPS) and MongoDB network ports to connect with users and to databases, what ports are opened on a firewall depend upon what capabilities are enabled: encryption, authentication and monitoring.

This page defines which systems need to connect to which ports on other systems.

Cloud Manager requires access on the following ports and whitelisted IP addresses.

Required Outbound Access

The MongoDB Agents connect to Cloud Manager on port 443. Whether you provision your hosts on a cloud service provider or on your own network, configure your network infrastructure to allow outbound connections on port 443.

If you wish to restrict outbound access on port 443 to specific IP addresses, you must whitelist the following addresses and domains.

IP Addresses for GET and POST

Whitelist the following IP addresses:

This allows the MongoDB Agents to GET and POST to the following hosts:


Domain for Download of MongoDB Binaries

The MongoDB Agents require outbound access to the following domains, depending on your MongoDB edition, for downloading MongoDB binaries:

MongoDB Edition Whitelist Domain IP Ranges Service Provider

IP ranges for CloudFront.

The IP ranges for CloudFront change frequently.

Amazon CloudFront
Custom Build of MongoDB URL accessible to the MongoDB Agents    

Required Inbound Access

IP Addresses for Alert Webhooks

You have the option to configure alerts to be delivered via webhook. This sends an HTTP POST request to an endpoint for programmatic processing.

If you want to successfully deliver a webhook to the specified endpoint, the endpoint must accept incoming HTTP POST requests from the following IP addresses:

Required Ports within Your Network

All MongoDB processes in a deployment must be accessible to all MongoDB Agents managing processes in that deployment. Therefore, all MongoDB ports must be open to every host within your network that serve a MongoDB Agent.


If you are running MongoDB processes on 27000, 27017 and 27020, then those three ports must be open from all hosts that are serving a MongoDB Agent.