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.1.tar.gz
(7.0 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.1.tar.gz.
File metadata
- Download URL: whoport-0.2.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1171b986359e91722272ac0e26fab8155d9590fb6c473e367b43d3f4557b9415
|
|
| MD5 |
d324a79d45fc7fb8630d5616963ef3dc
|
|
| BLAKE2b-256 |
4ba5c5333783a4e23935c18ffa60ed8c2cc08b243145de380643f530247e10c2
|
File details
Details for the file whoport-0.2.1-py3-none-any.whl.
File metadata
- Download URL: whoport-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 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 |
bd33cf3ca9818c71645deea4923adbae12414070dfaf0081c0711ff55dac479c
|
|
| MD5 |
c5aed95efa060e59ebc92a11eab7d661
|
|
| BLAKE2b-256 |
954bd058f0b5690ab60b970ad0d3017ba282aedfbc3667a79c7a90e5ed6529f6
|