Datadog Agent Destinations and Ports - Designing Firewall Openings

Agent traffic is centered on HTTPS going from the Agent to Datadog, and Datadog never initiates connections to you. The entries in your allowlist are determined by the data you send and the products you use, and the listeners inside the host are treated as ports to keep closed from the outside.

Separate outgoing traffic from traffic received inside the host

A firewall request keeps its table tidy if you first split the traffic into two directions before writing it. The first is traffic going out from the Agent to Datadog: only the Agent side initiates connections, and Datadog never opens connections toward you. Outgoing traffic is encrypted with SSL, and most of it converges on TCP port 443 (as of October 2026; source: Network Traffic). The second is traffic the Agent receives inside the host, the paths by which applications send metrics through DogStatsD and tracers hand over spans. These are not ports to open but ports to keep closed so they cannot be reached from outside. Installation alone requires different destinations: add install.datadoghq.com / yum.datadoghq.com / keys.datadoghq.com / apt.datadoghq.com / windows-agent.datadoghq.com to the allowlist.

Destinations are different hostnames for each type of data

For outbound destinations, the prefix of the hostname changes with each type of data, and the suffix is the domain of your organization's Datadog site. The table below is an example for an organization on app.datadoghq.com; for an EU organization, read the trailing datadoghq.com as datadoghq.eu. Most ports are TCP 443, but NTP for time synchronization uses UDP 123, and organizations on US1 and EU also get entries for TCP 8443 and TCP 8042.

Main destinations and ports (as of October 2026; example for an organization on app.datadoghq.com)
What is sentDestinationPortNotes
Metrics / service checks / eventsThe form 7-31-0-app.agent.datadoghq.comTCP 443The Agent version number goes at the front
Flare (diagnostic information for support)The form 7-31-0-flare.agent.datadoghq.comTCP 443Likewise includes the version number
APMtrace.agent.datadoghq.comTCP 443Destinations starting with instrumentation-telemetry-intake. are also used
Processes / Live Containersprocess.datadoghq.comTCP 443Cloud Network Monitoring uses the same destination
Orchestratororchestrator.datadoghq.comTCP 443Kubernetes resource information. contlcycle-intake. is also used
Remote Configurationconfig.datadoghq.comTCP 443Receiving configuration
APIapi.datadoghq.comTCP 443Features not required for collection, such as displaying whether the API key is valid
LogsThe site-specific HTTP intake (logs endpoints)TCP 443Sending over TCP is not recommended, and delivery is not guaranteed
NTP (time synchronization)The default NTP destinationsUDP 123Regardless of site
Custom Agent AutoscalingNo destination name listed in the port table of the official documentationTCP 8443Only for organizations on US1 and EU
Remote Configuration connectivity checkNo destination name listed in the port table of the official documentationTCP 8042Only for organizations on US1 and EU. Contains no customer data
Source: Network Traffic / Log Collection and Integrations

The first stumbling block in an allowlist is that the metrics destination contains the version number. An Agent at v7.31.0 sends to 7-31-0-app.agent.datadoghq.com, so an allowlist that spells out hostnames one by one breaks every time you upgrade. This is why the official documentation asks you to put a wildcard starting with *.agent. into the allowlist. Another point: Agents from 7.67.0 onward query names in a form with a trailing dot (trace.agent.datadoghq.com.). Check whether devices that allow traffic by name also pass this form; if they do not, from 7.72.0 onward you can set convert_dd_site_fqdn.enabled to false to return to the original form.

Destinations to add only for the products you use (as of October 2026; append the site domain to the prefix)
ProductDestination prefix
Database Monitoringdbm-metrics-intake. / dbquery-intake.
Network Device Monitoringndm-intake. / snmp-traps-intake. / ndmflow-intake.
Network Pathnetpath-intake.
Cloud Security vulnerabilities (SBOM)sbom-intake.
Container imagescontimage-intake.
Profilingintake.profile.
LLM Observabilityllmobs-intake.
Source: Network Traffic

Add these only to the allowlist for hosts that use the product. The two Database Monitoring destinations are ones the official documentation notes are for organizations on US1 / EU / US3 / US5 / AP1 / AP2 / UK1.

Write allow rules by name, and if you filter by IP, track ip-ranges

Every destination domain is a CNAME, which points to a fixed set of IP addresses. For devices that can only express allow rules by IP, Datadog publishes the ranges as JSON at a URL formed by appending the site domain to https://ip-ranges.; for an organization on app.datadoghq.com, it is ip-ranges.datadoghq.com. The content is divided into sections by purpose, and each section can also be retrieved from its own URL (/apm.json or /logs.json).

  • version: A number that increases each time the content changes. Decide whether to import changes by looking at this
  • modified: The time of the last change
  • agents / api / apm / logs / process / orchestrator / remote-configuration: Ranges the Agent sends to (IPv4 and IPv6 CIDRs)
  • synthetics / synthetics-private-locations / webhooks: Ranges the Agent does not use. Other purposes, such as the sources of synthetic monitoring and webhooks
Source: Network Traffic (structure of the JSON as of October 2026)

The official documentation asks you to allow all of the ranges, because even if only some are in use at a given moment, the contents of the set are swapped during normal operation and maintenance. In other words, allowing by IP is not something you write once and forget; the deciding factor is whether you can have a mechanism that imports the changes when version increases. If you have devices that can allow by name, writing hostnames and listing the *.agent. wildcard alongside the remaining destinations eliminates the work of fixing the table for version upgrades and IP changes.

Ports opened inside the host can be moved with configuration keys

Ports on the receiving side are the openings through which Agent components talk to each other and to applications within the same host. The official documentation warns that these should be restricted to trusted senders only; if they are reachable from outside, others can write traces and metrics into your organization or read configuration and service information. When a default port collides with an existing service, change it with a key in datadog.yaml or an environment variable.

Ports the Agent listens on and the keys to change them (as of October 2026)
PurposeDefaultKey to change it (datadog.yaml / environment variable)
DogStatsDUDP 8125dogstatsd_port / DD_DOGSTATSD_PORT
APM receiver (traces and profiler)TCP 8126receiver_port / DD_APM_RECEIVER_PORT (0 disables the HTTP receiver)
IPC APITCP 5001cmd_port / DD_CMD_PORT
go_expvar integration serverTCP 5000expvar_port / DD_EXPVAR_PORT
go_expvar server for APMTCP 5012-
Browser GUITCP 5002 (Windows / macOS)GUI_port / DD_GUI_PORT (the Linux default is -1 = disabled)
Process Agent debugging / runtime configurationTCP 6062 / 6162-
OTLP receiver (only when enabled)gRPC 4317 / HTTP 4318DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT / DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT
Source: Network Traffic / OTLP Ingestion by the Datadog Agent

By default, DogStatsD listens only on IPv4 127.0.0.1; to have other hosts or containers send to it, set dogstatsd_non_local_traffic to true. The OTLP receiver is disabled by default, and even when you enable it, setting the listening address to localhost keeps it from being opened to the outside. The configuration examples in the official documentation use 0.0.0.0 for convenience, but note that localhost is safer when running on a host. How to send through DogStatsD itself is summarized in the glossary entry for DogStatsD.

When a corporate network cannot reach the internet directly, the candidate is a proxy; where to place it and how to write exclusions are left to the glossary entry for Proxy. If you run the Agent inside AWS, another route is AWS PrivateLink. You create an internal endpoint in your own VPC, make it the Agent's destination, and connect it to the endpoint in Datadog's VPC (as of October 2026; source: Connect to Datadog over AWS PrivateLink).

Prerequisites for using AWS PrivateLink (as of October 2026)
ItemWhat the official documentation says
Supported sitesapp.datadoghq.com / ap1.datadoghq.com / ap2.datadoghq.com / uk1.datadoghq.com
Unsupported sitesus3.datadoghq.com / us5.datadoghq.com / app.datadoghq.eu / app.ddog-gov.com / us2.ddog-gov.com
Unit of endpointsOne per type of data (logs / API / metrics / containers / processes / profiling / traces / Database Monitoring / Remote Configuration)
DNSEnable DNS names when creating the endpoint
From another regionCross-region PrivateLink is recommended
Source: Connect to Datadog over AWS PrivateLink

The key point of the table is that PrivateLink uses a separate endpoint for each type of data. If you create only the metrics endpoint and forget the trace endpoint, traces try to go out over the original route, so they do not arrive on a closed network. With DNS names enabled, the endpoints look like the same hostnames to the Agent, so you do not need to rewrite the destinations in datadog.yaml. Knowing how the Agent behaves when the network is temporarily cut off also speeds up troubleshooting: the Agent first buffers metrics in memory and discards whatever exceeds the limit. From 7.27.0 onward, putting a positive value in forwarder_storage_max_size_in_bytes also lets it spill to disk (source: Network Traffic).

In containers and Kubernetes, hostPort and UNIX sockets become the listeners

When you run the Agent in a container, the ports it listened on inside the host are enclosed inside the container, so you prepare a separate path for applications to reach it. Because DogStatsD listens on UDP 8125, the Agent container binds this port to a host port, and to receive metrics coming from somewhere other than localhost, set DD_DOGSTATSD_NON_LOCAL_TRAFFIC to true (as of October 2026; source: DogStatsD). On Kubernetes, the defaults differ by installation method: the Datadog Operator has reception over UNIX domain sockets enabled by default, and to also receive over UDP you add features.dogstatsd.hostPortConfig.enabled. In Helm values, set dogstatsd.useHostPort and dogstatsd.nonLocalTraffic to true.

  • UNIX domain socket: Does not open a port outside the node. Applications point to the socket location with DD_DOGSTATSD_SOCKET
  • hostPort: Opens a port on the node. Assumes a network provider that follows the CNI specification (Calico / Canal / Flannel, etc.). Applications point to the Agent by putting status.hostIP in DD_AGENT_HOST
  • hostNetwork: The alternative when the network plugin does not support hostPort
Source: DogStatsD (as of October 2026)

Because hostPort opens the node's port itself, the official documentation again warns you to restrict senders with a firewall here as well. Since it avoids opening a port outside the node, the UNIX socket, which is self-contained within the same node, keeps the firewall table smaller. The full set of chart values is covered in Deploying to Kubernetes with Helm, and how to bind ports when running a single container is covered in Configuring the Agent with Docker.

When data does not arrive, start from the Agent's report and consolidate the allow table into one sheet

When data does not arrive even though you have written the allow rules, look at the Agent's own report before the logs of your network devices. How to read the status output is left to the explanation of the Datadog Agent; what we use here is the diagnose subcommand, which runs connectivity diagnostics, and the form that has an Agent inside a container produce the same report. On Docker, docker exec -it CONTAINER_NAME agent status, and on Kubernetes, kubectl exec -it POD_NAME -- agent status serve the same role (as of October 2026; source: Agent Commands). By separating whether only metrics have stopped or traces and logs as well, you can narrow it down to which entry in the destination table is missing.

  • List the features you use (metrics / APM / logs / processes / Remote Configuration, etc.)
  • For each feature, pick the entries from the destination table and add the *.agent. wildcard
  • For devices that cannot be written by name, import the relevant sections of ip-ranges and set up a mechanism that picks up changes in version
  • Confirm that the listeners inside the host (8125 / 8126, etc.) cannot be reached from outside
Source: compiled from Network Traffic

If you take the next step, check which features are enabled in your own Agent's status output and create a single allow table that picks up only the entries for those features. Opening destinations even for features you do not use adds to the explanation in your request, while missing a feature you do use leaves you in a state where only part of the data arrives right after installation. The full range of problems that come up right after installation is covered in Installing the Agent on Linux.

References

Share