I didn't like typing in netstat -ano | find "8080" lol so here is a GO based port finder.
go install github.com/381sm016/whoisusing@latestGrab the latest release from Releases.
# Check what's using port 8080
whoisusing 8080
# List all listening ports
whoisusing --all
# Output
PROTO PORT PID PROCESS
TCP 8080 12345 node.exe| Flag | Description |
|---|---|
<port> |
Show process using a specific port |
--all, -a |
List all listening ports and their processes |
--help, -h |
Show help |
--version, -v |
Show version |
git clone https://github.com/381sm016/whoisusing.git
cd whoisusing
go build -o whoisusing .Go makes it easy to build for any platform:
# Linux
GOOS=linux GOARCH=amd64 go build -o whoisusing .
# macOS
GOOS=darwin GOARCH=arm64 go build -o whoisusing .
# Windows
GOOS=windows GOARCH=amd64 go build -o whoisusing.exe .MIT