Skip to main content
PORT 4318 / TCPInfrastructure & CloudExposure Risk: Low

Port 4318: OpenTelemetry Collector (HTTP) — OTLP over HTTP/Protobuf & JSON Ingestion

Standard port for sending OpenTelemetry traces and metrics over HTTP/1.1 or HTTP/2 without gRPC.

Default Service
OpenTelemetry Collector (HTTP)
Process: otelcol / jaeger
Transport Protocol
TCP
IANA Registered Port 4318
Docker Port Flag
-p 4318:4318
Container to Host Mapping

How to Check & Kill Process on Port 4318 (EADDRINUSE Fix)

macOS & Linux (lsof / kill)
# Find process using port 4318
sudo lsof -i :4318

# Instantly kill process on port 4318
lsof -ti:4318 | xargs kill -9
Windows (PowerShell & CMD)
# Find PID listening on port 4318
netstat -ano | findstr :4318

# Force kill by PID
taskkill /PID <PID_NUMBER> /F
Cross-Platform Node.js One-Liner
# Kill port 4318 via npx
npx kill-port 4318

# Or diagnose via Castov CLI
npx castov fix "EADDRINUSE :::4318"
Linux Firewall (UFW) & Connectivity Test
# Test if port 4318 is reachable
nc -zv localhost 4318

# Allow or deny port 4318 in UFW
sudo ufw allow 4318/tcp
CLOUD & INFRASTRUCTURE PARTNER2 Slots Open

Deploying High-Availability Cloud Servers, VPCs, or Managed Databases?

Reach backend engineers and SREs actively debugging ports, CIDR subnets, and production infrastructure.

Frequently Asked Questions about Port 4318

What is Port 4318 used for?

Port 4318 is the standard network port for OpenTelemetry Collector (HTTP) (OTLP over HTTP/Protobuf & JSON Ingestion) operating over TCP. The typical system daemon or process is otelcol / jaeger.

How do I kill a process running on Port 4318 (EADDRINUSE)?

On macOS and Linux, run: lsof -ti:4318 | xargs kill -9 (or npx kill-port 4318). On Windows PowerShell/CMD, run: netstat -ano | findstr :4318 and then taskkill /PID <PID> /F.

Is it safe to expose Port 4318 to the internet?

Port 4318 has a Low security risk profile. Standard port for sending OpenTelemetry traces and metrics over HTTP/1.1 or HTTP/2 without gRPC.

Other Common Network Ports