{"id":5511,"date":"2026-11-12T10:24:40","date_gmt":"2026-11-12T10:24:40","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=5511"},"modified":"2026-11-12T10:24:40","modified_gmt":"2026-11-12T10:24:40","slug":"get-list-of-listening-ports-linux","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=5511","title":{"rendered":"Get List of Listening Ports (Linux)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To see a list of listening ports on a host you can run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ss -tunlp<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also filter with the below, in this example filtering to port 22 (SSH):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ss -tlnp sport = :22<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To see a list of listening ports on a host you can run: You can also filter with the below, in this example filtering to port 22 (SSH):<\/p>\n","protected":false},"author":4,"featured_media":4373,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-5511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5511"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5511\/revisions"}],"predecessor-version":[{"id":5512,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5511\/revisions\/5512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/media\/4373"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}