Securing OpenTelemetry Collector network exposure starts with knowing what listens
Platform teams running Collector agents or gateways now receive telemetry from many hosts, networks and clusters, and each of those listeners is a network entry point. The short answer to this page's question is that every receiver should bind only to the interface its senders can reach, and diagnostic endpoints such as zPages, pprof and internal metrics should stay on private addresses that operators reach on purpose. The first step is an inventory of what actually listens on each Collector, because the bind address is set per component and a pipeline can expose more than its author intended.
The OpenTelemetry Collector receives, processes and exports telemetry in a vendor-agnostic way. It can run as an agent next to workloads or as a gateway that accepts data from many sources, and the OpenTelemetry Collector security best practices describe the controls that protect those listeners. Since v0.110.0, server components bind to localhost by default rather than 0.0.0.0, so a fresh install is safer than older ones. That default does not help an agent that other hosts must reach, a gateway in a shared cluster, or any Collector upgraded from an older configuration that already pins an address. Those are the cases where the bind address is a deliberate decision.
Start by reviewing each receiver's endpoint value in your configuration and by listing the ports open on each Collector host or pod. Confirm which senders must connect, then restrict binds to the matching network interface or a private address. Check that zPages, pprof and the internal telemetry endpoint are not exposed through a Service, load balancer or ingress rule. Releases are published with dates, for example v0.161.0 on September 16, 2026 and v0.163.0 on October 16, 2026, so confirm your pinned version against the OpenTelemetry Collector releases page before you rely on the default behavior in your environment.
Which listener binding fits each Collector role
This table compares listener binding choices for each Collector role, from same-host senders to external senders. Read each row as a decision: match the sender's network location to the binding, then check the trade-offs for reachability and operations. Endpoints such as zPages, pprof and internal metrics are not receivers and should stay off every shared network.
| Sender or endpoint | Binding choice | When it fits | Trade-off to weigh |
|---|---|---|---|
| Same-host sidecar or local SDK | Localhost only | Senders run on the same host or in the same network namespace as the Collector | Remote senders cannot reach it, so a node or gateway tier is needed for anything else |
| Node agent for host services | Private host interface | Agents receive from workloads on the node and forward to a gateway over a private network | Pods or containers need a route to the node address, which adds configuration to confirm |
| Gateway in a private network | Private interface or pod network | Agents and internal services send data to a shared gateway inside your trust zone | Load balancers and service endpoints must reach the gateway, so review routing and firewall rules |
| Load balancer in front of gateways | Private interface with health check path | Several gateway replicas sit behind an internal load balancer | Health and readiness checks need their own reachable path, which should not be the public receiver port |
| Senders outside the trust zone | Authenticated exposure with TLS | Partners, edge devices or other networks must send telemetry to your Collector | Requires authenticator extensions such as OIDC, TLS and a documented ingress path; confirm keys in the Collector configuration docs |
| zPages diagnostics | Localhost or admin-only interface | Used by operators during troubleshooting on the Collector host | Exposing it publicly reveals pipeline internals; access through a secured tunnel is safer |
| pprof profiling endpoint | Localhost or admin-only interface | Used only when diagnosing memory or CPU issues | Profiling data can reveal runtime details, so enable it only when needed and confirm its key in the docs |
| Internal telemetry metrics | Private monitoring network | Your monitoring system scrapes Collector health on a private path | Scrape access must be limited to the monitoring tier, and the port should not appear on public load balancers |
How to bind receivers and lock down diagnostic endpoints
This sequence takes a Collector configuration from its current listeners to a state where each receiver is reachable only from the senders that need it, and diagnostic endpoints stay off public networks. Each step ends with a check so the result can be confirmed before the next change.
Inventory every listener in the configuration
List each receiver, extension and telemetry endpoint that opens a port, including OTLP, Prometheus scrape targets, health checks, zPages, pprof and the Collector's internal metrics endpoint. Read the effective configuration from the running Collector, not only the source file, because defaults and environment overrides can add listeners. Record the protocol, port, bind address and the senders that use each one. The step is done when every open port has a row in the inventory and no listener is unexplained.
Decide the bind address for each listener
For each row, choose one of three outcomes: a specific private interface for senders on other hosts, the loopback address for senders on the same host, or an admin-only address for diagnostic endpoints. Since v0.110.0, server components bind to localhost by default, so any listener that previously relied on 0.0.0.0 must be set explicitly to be reachable. Confirm the default behavior for each component in its README, because stability and defaults vary across components. The step is done when every listener has a written bind address and a named sender group.
Restrict ports at the host, network policy or firewall
Apply the decisions from the previous step at the network layer. On hosts, use the local firewall to allow only the sender subnets or addresses for each receiver port. On Kubernetes, write network policies that select the Collector pods and allow ingress only from the namespaces or workloads that send telemetry. Close any port that appears in the inventory but has no sender. The step is done when a port scan from a host outside the allowed sender group shows no open Collector ports.
Move diagnostic endpoints to loopback or an admin network
Bind zPages, pprof and the internal metrics endpoint to loopback or to a management network that operators reach through a bastion or VPN. Reach these endpoints through port forwarding or an authenticated admin path rather than exposing them to application networks. Do not place them behind the same listener as OTLP ingress. The step is done when a request to each diagnostic endpoint succeeds from an operator host on the admin path and fails from application networks.
Add authenticator extensions at trust boundaries
Where a sender crosses a trust boundary, such as a team's network reaching a shared gateway, add an authenticator extension to the receiver so incoming connections are authenticated. Collector authenticator extensions can authenticate connections, for example with OIDC, and the oauth2client extension can add credentials to outgoing exporter requests. Confirm which authenticators each receiver and component supports in its documentation before you rely on them. The step is done when an unauthenticated test request to the protected receiver is rejected and a request with valid credentials is accepted.
Verify exposure from an untrusted network
Scan the Collector hosts for listening sockets from a network that has no business access, and compare the open ports with the inventory from the first step. Any port that is open but not in the inventory, or any diagnostic endpoint reachable from the untrusted network, means the earlier step is incomplete. Repeat the scan after every configuration or deployment change, since a new receiver or a changed bind address can reopen exposure. The step is done when the scan results match the inventory exactly.
Confirm intended senders still deliver data
Check that the Collector still receives telemetry from the senders that should reach it. Confirm that trace, metric and log counts arrive at the exporter or backend from each sender group, and that the Collector's own receiver metrics show accepted data rather than refused connections. Test from a sender on each network segment, because a restrictive rule can block one group while the others appear healthy. The step is done when every sender group in the inventory shows accepted data and no unexpected sender is refused access.
Where trust boundaries sit in a Collector deployment
The flow starts on application hosts, where SDKs and agents send telemetry to a local Collector on localhost. Each agent then hands data across a network boundary to a gateway, and the gateway exports to back ends. The operator workstation reaches zPages and pprof only through a restricted path, not directly. At every hop, check which listener is bound to which interface, which side of the boundary it sits on, and whether that port is needed at all.
Trust boundaries and the listeners that cross them in a two-tier Collector deployment.
Security risks when Collector listeners are exposed
Each Collector listener, diagnostic extension and firewall rule is a path into the pipeline. The cards below pair each exposure risk with the control that closes it and the check that confirms the control still holds after an upgrade or a config change.
Diagnostic endpoints leaking runtime detail
The zPages and pprof extensions expose live pipeline state, component configuration and memory profiles. Anyone who can reach them can learn which exporters, back ends and routes you run, and can pull heap data that may contain fragments of telemetry. Keep these extensions bound to localhost or a management network only, and remove them from production configs when you do not need them. Check from an outside host that the ports do not answer.
Unauthenticated receivers accepting spoofed telemetry
An OTLP receiver that accepts connections from any source lets any host inject spans, metrics and logs that look like they came from your services. Spoofed data can hide real incidents, poison dashboards and inflate costs. Use an authenticator extension, such as OIDC on the receiver side, so the Collector checks the caller before it accepts data. Check by sending a request without credentials and confirming it is refused.
Internal metrics revealing topology
The Collector's own internal telemetry endpoint reports pipeline throughput, queue sizes, exporter errors and component names. Those figures show an attacker which back ends you use and where traffic flows. Bind the metrics endpoint to a monitoring network and scrape it from there. Check that your monitoring system can still reach it and that external networks cannot.
Accidental 0.0.0.0 binds after upgrades
Since v0.110.0, server components bind to localhost by default instead of 0.0.0.0. Configs copied from older examples, or explicit 0.0.0.0 values left in place, reopen every listener to all interfaces. This can happen silently when a config is reused across environments. Review every endpoint value during each upgrade, and confirm with a port scan or a listening-socket check on the host after the change.
Overly broad firewall rules
Opening a whole port range or allowing any source address to reach the gateway defeats the bind settings you have made. Scope rules to the exact receiver ports and to the source networks of your SDKs and agents, and deny everything else by default. Use Kubernetes network policies for pods that reach the gateway. Check the effective rules quarterly and after each network change, and confirm that each allowed source still needs access.
What the v0.110.0 localhost default changes for existing deployments
Since Collector v0.110.0, server components bind to localhost by default rather than all interfaces, so a deployment that upgraded without reviewing its configuration can stop receiving telemetry without any error at the sender. The change only affects receivers that relied on the previous behavior and omitted an explicit bind address. Any endpoint value you set explicitly in the receiver configuration, such as 0.0.0.0:4317 for OTLP gRPC, overrides the default, so a receiver with an explicit address keeps its old reachability while one with no address now listens only on loopback. Agents on other hosts, gateway-bound sidecars and load balancers pointing at the Collector are the usual casualties, and they often fail quietly because the senders keep retrying.
Treat the upgrade as a configuration review, not just a version bump. Before the upgrade, list every receiver in every Collector configuration, record whether each sets an explicit endpoint, and note which clients connect to it from outside the Collector's own host or pod. After the upgrade, confirm that the running binary is the version you intended, using the release list in the OpenTelemetry Collector releases page, and then check that each expected sender still delivers data. Include the Collector's own telemetry in that check, since a silent drop at one receiver is easy to miss when others still work.
Decide per receiver whether loopback is the correct answer. A receiver that only serves a local SDK or sidecar on the same host can stay on localhost, while a gateway that must accept traffic from other networks needs an explicit address that matches your network design. Where you widen a bind address, pair it with the transport controls and access restrictions described elsewhere in this topic, so that the change does not open a port to every network that can reach the host. Record each decision in the configuration repository so that the next reviewer can see why an address is set.
Limits to confirm in your environment
The Collector's exposure depends on the distribution you run, the components you enable and the platform that starts it. Each card below is a check to complete against your own build and configuration, not a default to assume. Confirm each one before you sign off the network design.
Receiver and extension endpoints by default
Each receiver and extension opens its own listener, and the ports and addresses they use can differ by component and by release. Build a list of every endpoint your chosen distribution starts with your exact configuration, then compare it with the ports you meant to open. Check the configuration reference and each component's README rather than relying on a general statement about the Collector. Treat any endpoint you cannot account for as a finding.
Collector configuration docsComponent stability levels
Core components have mixed stability levels, and the status of a receiver, extension or processor can change between releases. A component that is still in development may change its listener behavior, configuration keys or security options without notice. Read the stability section in each component's README for every component you enable, and record the level in your build inventory. Ask your vendor or partner how they track stability changes between the versions you plan to run.
OpenTelemetry status pageBind addresses set by Kubernetes or the Operator
A Helm chart or the Operator may generate a Collector configuration with its own bind addresses, service definitions and host networking settings. The generated configuration can override the localhost default you expect from the Collector's own release notes. Render the final manifests and inspect the effective listener addresses, the Service type and any hostNetwork setting. Confirm which values the chart sets explicitly and which it leaves to the component default.
Source restriction in your network tooling
Localhost binding does not limit access from other hosts that you deliberately bind to. Where a receiver must accept traffic from application nodes, confirm that your firewall, security group, network policy or load balancer can restrict each port to specific source addresses or workloads. Ask whether your tooling can filter by source and by protocol for the OTLP, health and metrics ports separately. Test the restriction from a host that should be blocked.
Authentication on receivers
Port restriction limits who can reach a receiver, but it does not confirm who the sender is. Check whether the authenticator extensions in your distribution support the authentication method your environment uses, such as OIDC, and whether they apply to each receiver you expose. Confirm which receivers accept unauthenticated traffic in your configuration, and whether the extension is available in the build you produce.
Authenticator configurationDebug endpoints in your build
zPages, pprof and internal metrics are diagnostic endpoints that expose configuration, runtime state and performance data. Whether each one is present, and where it listens, depends on your distribution and on the extensions and telemetry settings you enable. Search your rendered configuration for these endpoints, check the ports they bind to, and confirm that your network tooling blocks them from every network except your operations tooling.
Questions teams ask before securing Collector exposure
How much effort does a review of Collector listeners take?
The effort depends mainly on how many receivers, pipelines and environments the review covers, and on whether the Collectors run on Kubernetes or on virtual machines. Each Collector needs its effective configuration read, every receiver and extension mapped to the interface it binds to, and each exposed port matched to a known sender. A small gateway with a few OTLP receivers is a short exercise. A fleet of agents across clusters, hosts and regions multiplies the work, because bindings can differ between Helm values, Operator manifests, service definitions and host configs. Ask any provider to list the Collectors, environments and receivers in scope before quoting.
Can an internal team review Collector exposure on its own?
Yes, many internal teams can do a first pass themselves, especially when they know their Collector configuration and network layout well. The review mostly reads configuration and checks reachability, which platform or security engineers can do with the Collector documentation and their own tooling. What teams often lack is time and an independent view of their own assumptions, such as a receiver that was bound to all interfaces for a test and never changed back. Teams that want an outside check, or a repeatable process across many clusters, usually find a partner useful for the hardening and retest steps.
What does the work need from our team?
The review needs read access to the Collector configuration as it is actually deployed, not only the copies in Git, because environment variables, Helm values and Operator settings change the result. It also needs current network diagrams, a list of senders and their source networks, and firewall or security group rules. A named contact who can approve changes is essential, along with change windows for restarts, since binding changes take effect when a Collector reloads. Most teams find that the sender inventory takes the longest to assemble.
How long does this take, and what sets the duration?
Duration is set by the number of Collectors in scope, how well their configuration is documented, how many teams must confirm senders, and how long your change process takes to approve and roll out fixes. Retesting after changes adds time because each binding change should be verified from the networks that legitimately send data and from networks that should be blocked. Agree on a timeline in the written scope, and ask for the assumptions behind it, including which environments and change windows it depends on.
What does a fixed-scope engagement cover?
A fixed-scope engagement sets out, in writing before work starts, the Collectors, environments and receivers in scope, the deliverables and the timeline. For this topic, that typically means an inventory of listeners and their bindings, a list of exposed ports tied to known senders, findings on zPages, pprof and internal metrics endpoints, recommended configuration changes, and a retest after fixes are applied. Ask for the list of excluded components, such as the backends behind the exporters, so there is no confusion later about what was checked.
Does DeployOpen issue audit reports or certifications for our Collector setup?
No. DeployOpen does not issue audit reports, attestations or certifications. It can prepare the controls, configuration evidence and records that an assessment needs, such as documented listener bindings and retest results. Independent auditors or certification bodies then assess that evidence and issue any formal outcome. Confirm with your auditor which evidence they expect before the review starts, so the output matches their request.
Which Collector endpoints should stay off public networks?
The endpoints that expose internal state should stay off public networks, including zPages, the pprof profiling endpoint and internal Collector metrics. Receivers that accept telemetry from applications should bind only to the interfaces those senders use, and should be protected with TLS and authentication where your design requires it. The Collector security best practices page is the right starting point for the configuration side. Confirm the exact extension and port settings against the version you run, because defaults and component stability vary between releases.
Where network exposure work ends and sibling topics begin
This page covers listener binding, port exposure and diagnostic endpoints: which interface each receiver listens on, which ports are reachable from outside the network segment, and whether zpages, pprof and the Collector's internal metrics are kept off public networks. It does not cover encrypting OTLP traffic, handling secrets, restricting the process's privileges or trimming the binary. Those are separate jobs with their own decisions, and each has a sibling topic: TLS and mTLS for OTLP traffic, managing secrets in Collector configuration, running the Collector with least privilege, and minimal Collector builds. Keeping the boundary clear matters because a fix in one area can look finished while a gap in another remains open.
Start here because exposure is the cheapest risk to close and the one that changes what an attacker can reach at all. Since v0.110.0, server components bind to localhost by default, so a Collector that was upgraded without a configuration review may now be silently unreachable from agents on other hosts, or a team may have overridden the default with 0.0.0.0 during troubleshooting and never reverted it. Inventory every receiver endpoint and every extension that serves HTTP, then confirm the bind address and the network path for each. Ask your platform team to confirm which Collector version each environment runs before you rely on the default.
Once listeners are bound correctly, move to the sibling topics in an order driven by where telemetry travels. Traffic that crosses a host boundary or leaves your network needs TLS and mTLS before anything else carries sensitive data, while secrets handling and redaction matter most where exporters carry credentials or where attributes may contain personal data. Least privilege and minimal builds reduce the damage a compromised Collector can do, so they follow once the network surface is known. Plan these as one ordered backlog with an owner for each item, and retest exposure after every configuration change, because a new receiver added for a single team can reopen a port this page closed.
How DeployOpen scopes and delivers Collector exposure reviews
DeployOpen works on Collector network exposure as a fixed-scope piece of work inside your own infrastructure. We start from the receivers, extensions and listeners your Collector actually runs, then agree in writing which interfaces, ports and diagnostic endpoints will change and how each change will be verified.
How we scope
- Inventory every Collector receiver, extension and diagnostic endpoint across agents and gateways in your environment.
- Map which senders reach each port from SDKs, nodes, other clusters or external networks.
- Agree in writing which interfaces, ports and zPages, pprof and internal metrics paths are in scope.
How we build
- Set receiver bindings to specific interfaces so each listener matches its real caller, not a wildcard address.
- Restrict zPages, pprof and internal metrics to localhost, a management network or an authenticated path, per your policy.
- Test each exposed port from inside and outside the intended network, and record the results against the agreed scope.
How we hand over
- Deliver the reviewed configuration, a port and listener register, and the test evidence for each change.
- Document the firewall, network policy and load balancer rules that the Collector configuration depends on.
- Walk your platform and security teams through the runbook for adding new receivers or diagnostic access.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial review.
- Ask whether a retainer will recheck exposure after each Collector release that changes default bindings.
- Confirm with DeployOpen how retests are scheduled and priced before the written scope is signed.

