{"id":674,"date":"2014-09-12T04:39:11","date_gmt":"2014-09-12T04:39:11","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=674"},"modified":"2014-09-12T04:39:11","modified_gmt":"2014-09-12T04:39:11","slug":"find-out-which-process-is-listening-upon-a-port","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/09\/12\/find-out-which-process-is-listening-upon-a-port\/","title":{"rendered":"Find Out Which Process Is Listening Upon a Port"},"content":{"rendered":"<p>How do I find out running processes were associated with each open port?<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n#sudo netstat -lpn |grep :8080\n\n<\/pre>\n<p>You will get an output similar to this one<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\ntcp6       0      0 :::8080                 :::*                    LISTEN      6782\/java\n\n<\/pre>\n<p>The process i, which is 6782, now this is the process that is using port 8080.<\/p>\n<p>Kill the process, type: kill 6782<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# kill -9 6782\n\n<\/pre>\n<p>and now port 8080 is free.<\/p>\n<p><a href=\"http:\/\/www.cyberciti.biz\/faq\/what-process-has-open-linux-port\/\">http:\/\/www.cyberciti.biz\/faq\/what-process-has-open-linux-port\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do I find out running processes were associated with each open port? #sudo netstat -lpn |grep :8080 You will get an output similar to this one tcp6 0 0 :::8080 :::* LISTEN 6782\/java The process i, which is 6782, now this is the process that is using port 8080. Kill the process, type: kill &#8230; <a title=\"Find Out Which Process Is Listening Upon a Port\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/09\/12\/find-out-which-process-is-listening-upon-a-port\/\" aria-label=\"Read more about Find Out Which Process Is Listening Upon a Port\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-674","post","type-post","status-publish","format-standard","hentry","category-administration"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/674\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}