Port 3000: Development servers

Port 3000 (TCP) is used by Development servers. Popular default for Node.js (Express, Next.js dev), Grafana and Rails (unofficial use).

3000Port
TCPProtocol
hbciIANA service name
DevOps & dev serversCategory

Port range

3000 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 3000 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 3000 in a firewall

ufw         sudo ufw allow 3000/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 3000 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=3000/tcp
Windows     New-NetFirewallRule -DisplayName "Development servers 3000" -Direction Inbound -Protocol TCP -LocalPort 3000 -Action Allow

Check if port 3000 is open

nc -vz example.com 3000
Test-NetConnection example.com -Port 3000   # PowerShell
sudo ss -tulpn | grep ':3000 '   # what is listening locally (Linux)

Other devops & dev servers ports

Frequently asked questions

What is port 3000 used for?
Development servers. Popular default for Node.js (Express, Next.js dev), Grafana and Rails (unofficial use).
Is port 3000 TCP or UDP?
TCP.