{"id":130,"date":"2011-05-18T11:37:00","date_gmt":"2011-05-18T11:37:00","guid":{"rendered":"http:\/\/asgaur.com\/wp\/?p=130"},"modified":"2011-05-18T11:37:00","modified_gmt":"2011-05-18T11:37:00","slug":"how-to-find-windows-process-using-port","status":"publish","type":"post","link":"http:\/\/www.asgaur.com\/wp\/how-to-find-windows-process-using-port\/","title":{"rendered":"How to  find  Windows process using port"},"content":{"rendered":"<p><span style=\"font-size: small;\"><span style=\"font-family: arial,helvetica,sans-serif;\"><!-- Adsense block #541 not displayed since it exceed the limit of 3 --><!-- Adsense block #542 not displayed since it exceed the limit of 3 -->&#65279;&#65279;netstat -an |find \/i &#8220;listening&#8221;<br \/>netstat -an |find \/i &#8220;established&#8221;<br \/>netstat -ao |find \/i &#8220;listening&#8221;<\/p>\n<p>1. netstat -aon | findstr &#8220;&#8221;<\/p>\n<p>This shows if the specified is being used. The number in the last column is the process id (PID) of the process holding the socket. Once PID is determined, one can refer to &#8220;Windows Task Manager&#8221; to determine which application corresponds to the PID.<\/p>\n<p>Windows Example<\/p>\n<p>C:&gt;netstat -aon | findstr &#8220;4557&#8221;<br \/>TCP 0.0.0.0:50000 0.0.0.0:0 LISTENING 5678<\/p>\n<p>C:&gt;pslist 5678<\/p>\n<p>pslist v1.28 &#8211; Sysinternals PsList<br \/>Copyright &#172; 2000-2004 Mark Russinovich<br \/>Sysinternals<\/p>\n<p>Process information for MACHINENAME:<\/p>\n<p>Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time<br \/>oracle 5678 8 15 366 34512 0:00:02.859 12:02:09.424<\/span><\/span><\/p>\n<div class=\"item_footer\">\n<p><small><a href=\"http:\/\/asgaur.com\/asgaur.php\/2011\/05\/18\/how-to-find-windows-process\" target=\"_blank\" rel=\"noopener\">Original post<\/a> blogged on <a href=\"http:\/\/b2evolution.net\/\" target=\"_blank\" rel=\"noopener\">b2evolution<\/a>.<\/small><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&#65279;&#65279;netstat -an |find \/i &#8220;listening&#8221;netstat -an |find \/i &#8220;established&#8221;netstat -ao |find \/i &#8220;listening&#8221; 1. netstat -aon | findstr &#8220;&#8221; This shows if the specified is being used. The number in the last column is the process id (PID) of the process holding the socket. Once PID is determined, one can refer to &#8220;Windows Task Manager&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":0,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/posts\/130\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/media?parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/categories?post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.asgaur.com\/wp\/wp-json\/wp\/v2\/tags?post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}