120+ well-known ports. Search, filter, explore.
| Port | Protocol | Service | Description | Category |
|---|
Common commands to check if a specific port is open or in use on your system.
ss -tlnp | grep :PORT # Linux — show TCP listeners netstat -tlnp | grep :PORT # Linux (legacy) lsof -i :PORT # macOS / Linux — who owns the port sudo lsof -iTCP:PORT -sTCP:LISTEN # macOS — TCP listeners only
nc -zv HOST PORT # Netcat — quick TCP check telnet HOST PORT # Classic connectivity test curl -v telnet://HOST:PORT # Curl-based check nmap -p PORT HOST # Nmap — detailed port scan
netstat -an | findstr :PORT # Show connections on a port Test-NetConnection HOST -Port PORT # PowerShell tnc HOST -Port PORT # PowerShell (short alias)
docker port CONTAINER # Show all mapped ports
docker ps --format "table {{.Names}}\t{{.Ports}}" # List port mappings
ss -tlnp | grep docker-proxy # See what Docker is using on host
Port already in use: Another process is bound to the port. Use lsof -i :PORT to find it, then kill PID.
Connection refused: The port is not listening. Check if the service is running.
Connection timed out: A firewall is blocking the port. Check iptables -L or cloud security groups.
Ephemeral port conflicts: Ports 49152-65535 are used for outbound connections. Don't bind services there.