{"id":1789,"date":"2011-11-27T21:26:44","date_gmt":"2011-11-28T03:26:44","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=1789"},"modified":"2011-11-27T23:04:41","modified_gmt":"2011-11-28T05:04:41","slug":"linux-list-the-open-ports-and-the-process-that-owns-them","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=1789","title":{"rendered":"Linux List The Open Ports And The Process That Owns Them"},"content":{"rendered":"<blockquote><p>How do you list the network open ports on your server and the process that owns them? The answer is simple use the following command (must run as root):<\/p>\n<p><strong>sudo lsof -i<\/strong><\/p>\n<p><strong>sudo netstat -lptu<\/strong><\/p><\/blockquote>\n<p>via <a href=\"http:\/\/www.cyberciti.biz\/tips\/linux-display-open-ports-owner.html\">Linux List The Open Ports And The Process That Owns Them<\/a>.<\/p>\n<p>I don&#8217;t know why I keep forgetting this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do you list the network open ports on your server and the process that owns them? The answer is simple use the following command (must run as root): sudo lsof -i sudo netstat -lptu via Linux List The Open &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=1789\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[28],"class_list":["post-1789","post","type-post","status-publish","format-standard","hentry","category-technical","tag-linux-command"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1789"}],"version-history":[{"count":3,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1789\/revisions"}],"predecessor-version":[{"id":9055,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1789\/revisions\/9055"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1789"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}