Localports
List network ports with their associated binaries
Install / Use
/learn @diegoholiveira/LocalportsREADME
localports
A simple command-line tool to list network ports and their associated binaries. Perfect for developers who need to quickly identify what's using a specific port.
Features
- Lists all listening network ports
- Shows the binary path for each port
- Filters out system processes (focuses on developer-relevant processes)
- Clean table output with port, PID, and binary information
Installation
Via Homebrew
brew install diegoholiveira/localports/localports
From Source
git clone https://github.com/diegoholiveira/localports.git
cd localports
cargo build --release
./target/release/localports
Usage
Simply run the command:
localports
Example output:
+-------------+-------+--------------------------------------------------+
| Port | PID | Bin |
+-------------+-------+--------------------------------------------------+
| 3000 (TCP) | 12345 | ~/dev/my-app/target/debug/my-server |
| 5432 (TCP) | 67890 | /usr/local/bin/postgres |
| 8080 (TCP) | 11111 | ~/Projects/web-service/node_modules/.bin/next |
+-------------+-------+--------------------------------------------------+
Why localports?
Ever been frustrated trying to find what's using port 8080? Instead of running multiple commands like lsof, ps, and netstat, just run localports and immediately see what's listening where.
License
MIT
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
