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

Port 6006: Storybook / TensorBoard — Storybook UI Component Explorer & PyTorch/TF TensorBoard

Default port for Frontend Storybook (`npm run storybook`) and Machine Learning TensorBoard visualizations.

Default Service
Storybook / TensorBoard
Process: node / tensorboard
Transport Protocol
TCP
IANA Registered Port 6006
Docker Port Flag
-p 6006:6006
Container to Host Mapping

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

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

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

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

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

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

What is Port 6006 used for?

Port 6006 is the standard network port for Storybook / TensorBoard (Storybook UI Component Explorer & PyTorch/TF TensorBoard) operating over TCP. The typical system daemon or process is node / tensorboard.

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

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

Is it safe to expose Port 6006 to the internet?

Port 6006 has a Low security risk profile. Default port for Frontend Storybook (`npm run storybook`) and Machine Learning TensorBoard visualizations.

Other Common Network Ports