sudo netstat -plut | sort

sudo ss -pluntO --no-header | sed 's/^([a-z]) [A-Z] [0-9] [0-9] [0-9] /\1/' | grep -v -e '^[fe80::' -e '^127.0.0.1' -e '^[::1]' -e '^192.' -e '^172.' | sed 's/^[^:]:(:]:)\?//;s/([0-9]) [^ ]/\1\t/;s/,fd=[0-9]//' | sort -gu

sudo lsof -i -sTCP:LISTEN +c 15 | grep -v localhost | sort

You can use your Mastodon account to reply to this post.

Created . Edited .