Skip to main content
PORT 3002 / TCPDev & LocalhostExposure Risk: Low

Port 3002: Microservice Dev HTTP — Tertiary Local Development & Monorepo Service Port

Frequently assigned to auxiliary microservices, Storybook, or Turborepo apps in multi-app local workspaces.

Default Service
Microservice Dev HTTP
Process: node
Transport Protocol
TCP
IANA Registered Port 3002
Docker Port Flag
-p 3002:3002
Container to Host Mapping

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

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

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

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

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

# Allow or deny port 3002 in UFW
sudo ufw allow 3002/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 3002

What is Port 3002 used for?

Port 3002 is the standard network port for Microservice Dev HTTP (Tertiary Local Development & Monorepo Service Port) operating over TCP. The typical system daemon or process is node.

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

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

Is it safe to expose Port 3002 to the internet?

Port 3002 has a Low security risk profile. Frequently assigned to auxiliary microservices, Storybook, or Turborepo apps in multi-app local workspaces.

Other Common Network Ports