Listing all active internet connections on Linux
Last modified on July 24, 2026 • 1 min read • 72 wordsThere are many possibilities, but perhaps the most friendly command is netstat.

netstat -natpHowever, it is not always easy to figure out what the actual program is that is responsible for the connection. E.g. my Brave browser shows up as
8219/renderD129 --cIn order to find out what application renderD129 is, you can use:
mjeltsch@ThinkPad:~/Documents/Informatics/jeltsch_org$ ps -fp 8219
UID PID PPID C STIME TTY TIME CMD
mjeltsch 8219 8164 0 04:51 ? 00:00:05 /opt/brave.com/brave/brave --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --render-node-override=/dev/dri/renderD129 --crashpad-handler-pid=8166 --enable-crash-reporter=660704ad-dee9-4207-8c54-988dc9068b98, --change-stack-guard-on-fork=enable --shared-files=v8_c [line truncated]