Command-line tool
knock
brew/knock
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Port-knock server
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install knock
Linux
brew install knock
Knock on ports using different protocols
knock hostname portnumber:protocol
Knock on port using UDP
knock -u hostname portnumber
Force usage of IPv4/IPv6
knock -4 hostname portnumber
Related command-line tools
- fwknop
Single Packet Authorization and Port Knocking - port-kill-console
Port Kill helps you find and free ports and caches blocking your dev work. - get-port-cli
Get an available port cli-app cli port find finder portfinder free available connection connect open net - tio
Simple TTY terminal I/O application - libusbmuxd
USB multiplexor library for iOS devices - snipe-port
Kill processes on a port, but only if they belong to the same project port kill process cli devtools - miniupnpc
UPnP IGD client library and daemon - port
Package manager for macOS. developer-tools docker container devtools container-image
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents