Show which processes are listening on which ports
Project description
whoport
Show which processes are listening on which ports — with filtering by port number or process name.
Install
pip install whoport[full]
(psutil is required for process information. The base pip install whoport works but will prompt you to install it.)
Usage
# Show all listening ports
whoport
# Show only specific ports
whoport 8080 3000 5432
# Filter by process name (partial match)
whoport --process node
whoport --process python
# Include UDP sockets
whoport --udp
# Show full command lines
whoport --cmd
# Include established connections, not just listeners
whoport --all
Example output
PORT PROTO HOST PID PROCESS
────────────────────────────────────────────────────
3000 tcp * 41234 node
5432 tcp * 812 postgres
8080 tcp * 9876 uvicorn
11434 tcp lo 22980 ollama
4 ports shown.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
whoport-0.2.0.tar.gz
(6.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whoport-0.2.0.tar.gz.
File metadata
- Download URL: whoport-0.2.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb59c001a9c988f15d8ae1f28c9768709b32f02ef4483a28a71cdb4e65a81ec7
|
|
| MD5 |
c7383d60da8879abc6cdcaf9af71238d
|
|
| BLAKE2b-256 |
3098694484fc61af22d745e06aeb2ad25123c924473fbb57d804ed46fd242d7a
|
File details
Details for the file whoport-0.2.0-py3-none-any.whl.
File metadata
- Download URL: whoport-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03f57fb81c88640ddebe3d17159f2e79da97682117019044f919b7d51f2f757d
|
|
| MD5 |
350fe7bd2fad5dc84f0f7c43c960f856
|
|
| BLAKE2b-256 |
134faf02b8bac1d89ece1435311be336e132a72a56fa8b272f4c3404fd76452d
|