UDPRegistered PortFirewall: Usually Closed
8125

StatsD

What is Port 8125?

Port 8125 is the default port for StatsD, a network daemon for collecting and aggregating application metrics. Originally written by Etsy, StatsD receives metric data over UDP (counters, timers, gauges, sets) from applications and periodically flushes aggregated data to backend systems like Graphite, InfluxDB, or Datadog. StatsD's UDP-based collection means applications can send metrics with minimal performance impact — if the StatsD server is unavailable, the UDP packets are simply dropped without affecting application performance. StatsD has become a standard component in application monitoring stacks and is supported by most observability platforms.

Common Uses

  • Application metric collection and aggregation
  • Custom business metric tracking
  • Performance monitoring instrumentation
  • Infrastructure metric gathering

Technical Details

Port Number8125
ProtocolUDP
CategoryRegistered
Service NameStatsD
Default FirewallUsually Closed
Port Test Commands

Copy-paste commands to check port 8125 (StatsD) from your terminal

Test connectivity

nmapScan port 8125 with service detection
nmap -p 8125 -sU -sV example.com
Bash /dev/tcpPure bash TCP check (no extra tools needed)
(echo > /dev/tcp/example.com/8125) 2>/dev/null && echo "open" || echo "closed"

Open port in firewall

UFW (Ubuntu / Debian)
sudo ufw allow 8125/udp
iptables
sudo iptables -A INPUT -p udp --dport 8125 -j ACCEPT
firewalld (RHEL / CentOS)
sudo firewall-cmd --permanent --add-port=8125/udp && sudo firewall-cmd --reload

Security Considerations

!

StatsD accepts any UDP data without authentication. Restrict access via firewall rules. In Kubernetes, use network policies. The lack of authentication means any application on the network can send metrics, potentially polluting monitoring data. Consider using authenticated metrics collection for sensitive environments.

Popular Ports Reference

The most commonly used and referenced network ports

Related Ports