<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alt om ingenting og litt i mellom &#187; netstat</title>
	<atom:link href="http://hovenko.no/blog/tag/netstat/feed/" rel="self" type="application/rss+xml" />
	<link>https://hovenko.no/blog</link>
	<description>En blogg av Knut-Olav</description>
	<lastBuildDate>Mon, 10 Mar 2025 19:25:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Finding which Windows process uses what IP socket</title>
		<link>https://hovenko.no/blog/2012/10/02/finding-which-windows-process-uses-what-ip-socket/</link>
		<comments>https://hovenko.no/blog/2012/10/02/finding-which-windows-process-uses-what-ip-socket/#comments</comments>
		<pubDate>Mon, 01 Oct 2012 22:22:55 +0000</pubDate>
		<dc:creator>Knut-Olav</dc:creator>
				<category><![CDATA[English-posts]]></category>
		<category><![CDATA[Teknologi]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://hovenko.no/blog/?p=781</guid>
		<description><![CDATA[To find out which application uses what IP port on a Windows, both open listening sockets and open connections, you can use netstat with some options and then grep for the port number, or findstr as it&#8217;s called in Windows world. netstat -ano &#124; findstr &#8220;:xxxx&#8221; This outputs something like this: Aktive tilkoblinger Prot. Lokal [...]]]></description>
			<content:encoded><![CDATA[<p>To find out which application uses what IP port on a Windows, both open listening sockets and open connections, you can use netstat with some options and then grep for the port number, or findstr as it&#8217;s called in Windows world.</p>
<p><strong>netstat -ano | findstr &#8220;:xxxx&#8221;</strong></p>
<p>This outputs something like this:<br />
<code>
<pre>
Aktive tilkoblinger

  Prot. Lokal adresse          Ekstern adresse          Tilstand           PID
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1232
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:17500          0.0.0.0:0              LISTENING       3500
  TCP    10.1.1.100:139         0.0.0.0:0              LISTENING       4
  TCP    10.1.1.100:1051        10.1.1.1:443           CLOSE_WAIT      3500
  TCP    10.1.1.189:1052        199.47.216.148:80      ESTABLISHED     3500
</pre>
<p></code></p>
<p>In the right column you&#8217;ll find the PID of the process using the socket. Open task manager, make sure the PID column is visible (might need to add it to the view, then look around in the drop down menus).</p>
<div id="attachment_792" class="wp-caption alignnone"><img src="http://hovenko.no/blog/wp-content/uploads/2012/10/taskmanager-pid1.png" alt="Windows Task Manager shows process PID of Dropbox" title="Windows Task Manager shows process PIDs" width="439" height="40" class="size-full wp-image-792" /><p class="wp-caption-text">Windows Task Manager shows process PID of Dropbox</p></div>
<p>Source: <a href="http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2008/AdminTips/Network/DeterminingwhatserviceorapplicationownsaTCPport.html" title="Determining what service or application owns a TCP port">http://www.windowsnetworking.com/kbase/WindowsTips/WindowsServer2008/AdminTips/Network/DeterminingwhatserviceorapplicationownsaTCPport.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://hovenko.no/blog/2012/10/02/finding-which-windows-process-uses-what-ip-socket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
