{"id":289,"date":"2010-06-17T13:13:16","date_gmt":"2010-06-17T07:43:16","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=289"},"modified":"2010-06-17T13:13:16","modified_gmt":"2010-06-17T07:43:16","slug":"dos-command-to-close-an-open-port","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/dos-command-to-close-an-open-port\/","title":{"rendered":"Dos command to close and open port"},"content":{"rendered":"<p>1)Type \u00a0<strong>netstat -a -o -n<\/strong> in command prompt.<\/p>\n<figure id=\"attachment_1075\" aria-describedby=\"caption-attachment-1075\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/06\/Netstat-command-in-DOS.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1075\" title=\"Netstat command in DOS\" src=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/06\/Netstat-command-in-DOS-300x151.jpg?resize=300%2C151&#038;ssl=1\" alt=\"Netstat command in DOS\" width=\"300\" height=\"151\" \/><\/a><figcaption id=\"caption-attachment-1075\" class=\"wp-caption-text\">Netstat command in DOS<\/figcaption><\/figure>\n<p>2) find the PID number for that port number (as shown in above image).<br \/>\n3) goto task manager and end process the corresponding PID number.<\/p>\n<figure id=\"attachment_1076\" aria-describedby=\"caption-attachment-1076\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/06\/Close-Open-Port-from-Task-manager-in-Windows-xp.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1076\" title=\"Close Open Port from Task manager in Windows xp\" src=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/06\/Close-Open-Port-from-Task-manager-in-Windows-xp.jpg?resize=400%2C452&#038;ssl=1\" alt=\"Close Open Port from Task manager in Windows xp\" width=\"400\" height=\"452\" \/><\/a><figcaption id=\"caption-attachment-1076\" class=\"wp-caption-text\">Close Open Port from Task manager in Windows xp<\/figcaption><\/figure>\n<p>If \u00a0PID is not visible in task manager then goto <strong>View-&gt;Select Column<\/strong> and select PID column.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dos command to close and open port in Windows XP, Windows 7 and Windows Server<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[82,219],"class_list":["post-289","post","type-post","status-publish","format-standard","hentry","category-tips","tag-dos","tag-windows-xp"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":603,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/linux\/remove-ubuntu-from-dual-boot\/","url_meta":{"origin":289,"position":0},"title":"Remove Ubuntu from Dual boot","author":"Jitendra","date":"July 7, 2010","format":false,"excerpt":"How to remove ubuntu from system and use previously installed Windows XP\/ Vista.","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4903,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/how-to-use-symbolic-link-to-move-google-chrome-appdata-folder-to-other-location\/","url_meta":{"origin":289,"position":1},"title":"How to use Symbolic Link to move Google Chrome AppData folder to other location","author":"Jitendra","date":"October 24, 2015","format":false,"excerpt":"Using Symbolic Link to move high storage folders to new location like moving Google Chrome AppData folder to other location","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"Using mklink command of Windows","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/10\/Using-mklink-command-of-Windows.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/10\/Using-mklink-command-of-Windows.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/10\/Using-mklink-command-of-Windows.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/10\/Using-mklink-command-of-Windows.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1554,"url":"https:\/\/www.jitendrazaa.com\/blog\/java\/snmp\/terminologies-used-in-snmp\/","url_meta":{"origin":289,"position":2},"title":"Terminologies used in SNMP","author":"Jitendra","date":"February 23, 2011","format":false,"excerpt":"Terminologies used in SNMP","rel":"","context":"In &quot;SNMP&quot;","block_context":{"text":"SNMP","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/java\/snmp\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":570,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/disable-autorun-in-windows-xp\/","url_meta":{"origin":289,"position":3},"title":"Disable Autorun in Windows XP","author":"Jitendra","date":"July 6, 2010","format":false,"excerpt":"Trick to disable Autorun in windows xp to protect from viruses.","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4431,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/using-dataloader-and-ant-to-backup-salesforce-data-on-ftp-server-video\/","url_meta":{"origin":289,"position":4},"title":"Using Dataloader and ANT to backup Salesforce data on FTP or SFTP server &#8211; Video","author":"Jitendra","date":"May 4, 2015","format":false,"excerpt":"Tutorial on how to use command line dataloader to save exported Salesforce backup file on FTP or SFTP server","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Use Dataloader and ANT to back CSV file on FTP Server","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Use-Dataloader-and-ANT-to-back-CSV-file-on-FTP-Server-1024x391.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Use-Dataloader-and-ANT-to-back-CSV-file-on-FTP-Server-1024x391.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Use-Dataloader-and-ANT-to-back-CSV-file-on-FTP-Server-1024x391.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":813,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/change-windows-xp-icons-background-color\/","url_meta":{"origin":289,"position":5},"title":"Change Windows Xp Icon&#8217;s Background color to Transparent","author":"Jitendra","date":"August 19, 2010","format":false,"excerpt":"How to Change Windows Xp Icon's Background color","rel":"","context":"In &quot;Microsoft&quot;","block_context":{"text":"Microsoft","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/"},"img":{"alt_text":"Windows Desktop Icon With Background","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/08\/Windows-Desktop-Icon-With-Background.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=289"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/289\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}