AptLynx

Command-line tool

socat

brew/socat

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

SOcket CAT: netcat on steroids

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install socat

Linux

brew install socat

Listen to a port, wait for an incoming connection, and transfer data to STDIO

sudo socat - TCP-LISTEN:8080,fork

Listen on a port using SSL and print to `stdout`

sudo socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT

Create a connection to a host and port, transfer data in STDIO to connected host

sudo socat - TCP4:www.example.com:80

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents