The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / tomcat / tomcat-address-already-in-use ▌

Operations Guides

Tomcat java.net.BindException: Address already in use: the connector never starts

You restart Tomcat. The JVM comes up. The process check goes green. Then catalina.out shows:

SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-8080]]
java.net.BindException: Address already in use

The JVM is alive, but the HTTP connector never bound its port. No traffic is served. Health checks that only verify the PID report healthy while every client gets connection refused.

This is the “Connector Binding vs Process Alive” trap: the JVM stays up after a connector init failure, so process-based monitoring passes while nothing listens. The failure modes are narrow. A stale Tomcat still holding 8080 or 8443, a port conflict with another service, or a previous shutdown that did not release the socket. Each has a different fix, and conflating them produces the wrong remediation.

This article walks diagnosis from the BindException line in catalina.out to the actual holder of the port, then covers the connector attributes (bindOnInit, socket.soReuseAddress) that change when and whether the bind happens.

What this means

Tomcat starts connectors through a lifecycle. With the default bindOnInit="true", the connector binds its server socket during the init() phase, before the rest of the lifecycle starts. If bind() throws java.net.BindException, the connector goes into FAILED state, but the Server, Service, Engine, and Host keep starting. The JVM process is up. Other connectors, if any, may also be up. Only the failed connector’s port is dark.

The error in catalina.out typically reads:

ERROR [main] org.apache.coyote.http11.Http11NioProtocol Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]
java.net.BindException: Address already in use

followed by a LifecycleBase line naming the failed component. The exact logger class varies by Tomcat version and connector protocol (Http11NioProtocol on current releases, Http11Protocol on older lines), but the exception class is invariant.

The critical operational point: process-alive is a necessary, not sufficient, condition. A pgrep -f 'org.apache.catalina.startup.Bootstrap' returning a PID tells you the JVM exists. It does not tell you port 8080 is bound. The only reliable signal that Tomcat is serving is a successful TCP connect and HTTP round trip against the connector’s port.

Common causes

CauseWhat it looks likeFirst thing to check
Stale Tomcat processAnother java PID with catalina.startup.Bootstrap in its command linepgrep -af 'catalina.startup.Bootstrap' returns more than one PID
Port conflict with another servicenginx, httpd, or another app already bound 8080ss -tnlp 'sport = :8080' shows a non-Java PID
Previous shutdown did not release socketRestart immediately after kill -9 with active connectionsss -tan 'sport = :8080' shows many TIME-WAIT sockets
Multiple Tomcat instances on same hostSame server.xml port (8080, 8005, 8009) on two instancesSecond instance fails first; first instance keeps running
Wrong bind interfaceConnector bound to an address the host does not ownaddress attribute in server.xml does not match any local interface

The first three account for almost every real-world occurrence. The fourth bites teams running parallel instances during blue/green or canary deploys. The fifth is rarer but produces the same exception class.

Quick checks

These are all read-only and safe to run on a production host.

# Confirm the BindException is for the port you expect
grep -A 3 'BindException' "$CATALINA_BASE/logs/catalina.out" | tail -30

# What is currently holding the port (process info via -p; needs root for other users' PIDs)
ss -tnlp 'sport = :8080'

# All Tomcat default ports at once
ss -tnlp '( sport = :8080 or sport = :8443 or sport = :8005 or sport = :8009 )'

# Find every JVM running Tomcat bootstrap on this host
pgrep -af 'org.apache.catalina.startup.Bootstrap'

# Count TIME-WAIT sockets on the connector port (rapid-restart signature)
ss -tan 'sport = :8080' | awk '/TIME-WAIT/' | wc -l

# Confirm a TCP connect to the port actually works
nc -vz -w 2 127.0.0.1 8080

# See which interface the port is bound on (0.0.0.0 vs 127.0.0.1)
ss -tnl 'sport = :8080'

# Read the connector block to confirm address and bindOnInit
grep -A 8 '<Connector' "$CATALINA_BASE/conf/server.xml"

If ss -tnlp 'sport = :8080' returns nothing, the port is free in the listening sense and the BindException is either stale (the holder already exited) or about TIME-WAIT. If it returns a row, the users:... field names the holding process and PID.

How to diagnose it

The decision tree below collapses the diagnosis into a single pass.

flowchart TD
    A[catalina.out: BindException on port N] --> B[ss -tnlp sport = :N]
    B --> C{Process holding port?}
    C -->|Yes, java with catalina.startup.Bootstrap| D[Stale Tomcat instance]
    C -->|Yes, other process| E[Port conflict with another service]
    C -->|No listener| F[ss -tan sport = :N]
    D --> G[Confirm PID, stop cleanly, restart]
    E --> H[Move service or change Tomcat port]
    F --> I{Many TIME-WAIT sockets?}
    I -->|Yes| J[Wait, or set socket.soReuseAddress=true]
    I -->|No| K[Check server.xml address attribute]

Work through it in order.

  1. Pull the exact failing port from catalina.out. The exception names the component, not always the port number explicitly. The Connector[HTTP/1.1-8080] form gives you the port. If it is https-jsse-nio-8443, the failing port is 8443.

  2. Check the holder with ss -tnlp 'sport = :N'. This is the single most useful command. If a row appears, you have a name and a PID. If no row appears, the bind failure is not a live listener.

  3. If the holder is another Java process, run pgrep -af 'catalina.startup.Bootstrap'. More than one PID means a stale Tomcat. This is common during deployments where the previous instance was not fully stopped before the new one started. Cross-check with ps -o pid,etime,cmd -p <pid> to see how long the stale process has been running.

  4. If the holder is a non-Java process, it is a port conflict. Identify the service with ps -o pid,cmd -p <pid>. Common offenders on 8080 are nginx, httpd, Jenkins, and reverse proxies. Where systemd manages the holder, systemctl status <pid> names the unit.

  5. If nothing is listening, check TIME-WAIT with ss -tan 'sport = :N' | grep TIME-WAIT | wc -l. A high count after a forced kill means the kernel has not yet released the socket. This typically self-resolves within the TIME-WAIT interval (roughly 60 seconds on default Linux).

  6. If neither a listener nor TIME-WAIT explains it, inspect server.xml. The address attribute on the <Connector> element pins the bind interface. If it names an address the host does not own (a VIP that has not failed over, a removed bridge, a container network that is not yet up), the bind fails with the same exception class.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
TCP port reachability (synthetic check)Definitive proof the connector bound and accepts connectionsProcess alive, port unreachable = this exact failure
JVM process aliveNecessary precondition, but explicitly not sufficientPasses during a BindException outage
BindException in catalina.outDefinitive startup failure stringAny new occurrence after a restart
Connector lifecycle state via JMX on the Connector MBeanDistinguishes STARTED from FAILEDState is FAILED while siblings are STARTED
ss -tnl Recv-Q on the listen socketSeparates accept-queue saturation from no-listener-at-allNo listen socket row at all means bind never happened
TIME-WAIT count per connector portPredicts bind failure after forced restartsSpike after kill -9 of a busy instance

The synthetic TCP check is the only one that catches this failure mode without parsing logs. A simple nc -vz -w 2 127.0.0.1 8080 on a short interval, run from the same host, surfaces the outage within seconds of the failed restart.

The Connector MBean object name is Catalina:type=Connector,port=<port> (plus an address= property when a specific bind address is configured). The beans Catalina:type=Connector,* pattern lists them; confirm the exact name in your installation with jmxterm before relying on it for alerting.

Fixes

Stale Tomcat process

Identify the PID from ss -tnlp or pgrep -af 'catalina.startup.Bootstrap'. Prefer a clean shutdown: shutdown.sh, or your service manager’s stop, lets Tomcat release sockets gracefully and flush logs. Reserve kill -9 for processes that ignore normal shutdown. It skips the cleanup path and increases the chance of TIME-WAIT holding the port for the next start.

If the stale process is from a previous deployment step that did not wait for shutdown to complete, fix the deployment script to poll for process exit before starting the new instance. A pgrep loop with a timeout is usually enough.

Port conflict with another service

Either move the conflicting service or change the Tomcat connector port. Changing Tomcat is usually safer because the conflicting service is often infrastructure (nginx, httpd) that other things depend on. Edit server.xml, change the port attribute on the <Connector>, and restart. Remember to also update the shutdown port (8005) and AJP port (8009) if you are running multiple instances on the same host. All three must be unique per instance, or the second instance will fail in the same way.

Previous shutdown left TIME-WAIT

Linux holds a socket in TIME-WAIT for roughly 60 seconds after the local side closes. If you restart inside that window, the new bind can fail. Two remedies:

  • Wait. The simplest fix. Most production restart procedures already take longer than 60 seconds end to end, which is why this only bites on rapid restart loops and crashloop-style orchestrations.
  • Set socket.soReuseAddress="true" on the connector. SO_REUSEADDR allows binding over sockets in TIME-WAIT on Linux. Tomcat applies the JVM default if you do not set the attribute explicitly. Setting it removes ambiguity across JDK distributions.

The companion attribute is bindOnInit. The default true binds during init(), which is what produces the early BindException on startup. Setting bindOnInit="false" defers the bind to the start() phase. It does not prevent port conflicts, but it changes when in the lifecycle the failure surfaces, which can matter for orchestration that expects clean separation of init and start phases. Known quirk: with bindOnInit="false", the socket is not always reliably unbound on connector stop, which can leave the port stuck for the next start.

The JDK documents that enabling SO_REUSEADDR before bind allows the socket to be bound even though a previous connection is still in TIME-WAIT, but the exact default differs by platform and JDK version. If you depend on rebinding over TIME-WAIT, set socket.soReuseAddress="true" explicitly rather than relying on the default.

Wrong bind interface

Check the address attribute in server.xml. If it names a specific IP, that IP must exist on a local interface at bind time. VIPs that have not failed over, removed bridges, and containers whose network is not yet up all produce the same exception class. Bind to 0.0.0.0 (the default when address is omitted) if you do not need interface pinning, or move the bind behind a reverse proxy that handles interface management.

Prevention

  • Replace process-only health checks with port checks. A pgrep is not an availability signal. A TCP connect against the connector port plus an HTTP round trip is.
  • Set socket.soReuseAddress="true" explicitly on every connector if your operations include rapid restarts. Do not rely on the JVM default.
  • Document port assignments per host. Stale Tomcat and port conflict are both symptoms of poor host-level port hygiene. A simple inventory (8080, 8005, 8009, 8443 per instance) prevents the multi-instance variant.
  • Make deployment scripts poll for clean shutdown. The most common cause of stale Tomcat is a deploy script that starts the new instance before the old one has fully exited.
  • Alert on BindException in catalina.out directly. It is a string match, it is unambiguous, and it fires within seconds of the failed restart.

How Netdata helps

  • TCP and HTTP synthetic checks on the connector port are the only reliable detector of “process alive, port not bound.” Per-second checks page the moment the port stops accepting connections, even when the JVM is still running.
  • Per-second process metrics show the JVM starting and the port check failing in the same window, making the BindException pattern obvious without log digging.
  • Log scanning on catalina.out surfaces the BindException line as an event the instant it is written, with the connector name and port in context for correlation.
  • Correlation across signals (process up, port down, BindException in log, connector state FAILED) collapses the diagnosis to a single timeline rather than four separate tools.