<?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>嘟嘟鱼 &#187; 端口占用</title>
	<atom:link href="http://www.duduyu.net/tag/%e7%ab%af%e5%8f%a3%e5%8d%a0%e7%94%a8/feed" rel="self" type="application/rss+xml" />
	<link>http://www.duduyu.net</link>
	<description>嘟嘟鱼的个人博客</description>
	<lastBuildDate>Thu, 15 Dec 2011 07:54:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>怎么查看80端口占用情况?</title>
		<link>http://www.duduyu.net/see-how-80-port-occupancy</link>
		<comments>http://www.duduyu.net/see-how-80-port-occupancy#comments</comments>
		<pubDate>Tue, 24 Nov 2009 12:26:14 +0000</pubDate>
		<dc:creator>嘟嘟鱼</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[端口占用]]></category>

		<guid isPermaLink="false">http://www.quickshare.com.cn/?p=11847</guid>
		<description><![CDATA[刚才需要调试程序发现127.0.0.1无法访问了，启动APMServ提示80端口被占用，以前都是用软件查的，现在说下如何用命令查： 开始--运行--cmd 进入命令提示符 输入netstat -ano 即可看到所有连接的PID ... ]]></description>
			<content:encoded><![CDATA[<p>刚才需要调试程序发现127.0.0.1无法访问了，启动APMServ提示80端口被占用，以前都是用软件查的，现在说下如何用命令查：</p>
<p>开始--运行--cmd 进入命令提示符 输入netstat -ano 即可看到所有连接的PID 之后在任务管理器中找到这个PID所对应的程序如果任务管理器中没有PID这一项,可以在任务管理器中选"查看"-"选择列"</p>
<p>经常，我们在启动应用的时候发现系统需要的端口被别的程序占用，如何知道谁占有了我们需要的端口，很多人都比较头疼，下面就介绍一种非常简单的方法，希望对大家有用</p>
<p>假如我们需要确定谁占用了我们的80端口</p>
<p>1、Windows平台<br />
在windows命令行窗口下执行：<br />
C:\&gt;netstat -aon|findstr "80"<br />
TCP     0.0.0.0:80         0.0.0.0:0               LISTENING       2736<br />
看到了吗，端口被进程号为2736的进程占用，继续执行下面命令：<br />
C:\&gt;tasklist|findstr "2736"<br />
peer.exe                     2016 Console                 0     16,064 K<br />
很清楚吧，thread占用了你的端口,Kill it<br />
如果第二步查不到，那就开任务管理器，看哪个进程是2736，然后杀之即可。</p>
<p> peer.exe这东西是RaySource网盘下载软件里的进程，很讨厌</p>
<p>如果需要查看其他端口。把 80 改掉即可</p>
<h3  class="related_post_title">您可能也对这些文章感兴趣</h3><ul class="related_post"><li><a href="http://www.duduyu.net/windows-xp-sp2-as-of-january-2008-update-rollup-patch-rain-forest-the-wind" title="Windows XP SP2 截至 2008 年 1 月 更新补丁汇总(雨林木风)">Windows XP SP2 截至 2008 年 1 月 更新补丁汇总(雨林木风)</a></li><li><a href="http://www.duduyu.net/good-luck-today-opened" title="今天运气不错，开张了">今天运气不错，开张了</a></li><li><a href="http://www.duduyu.net/100-wordpress-plugins" title="分享100个Wordpress常用插件">分享100个Wordpress常用插件</a></li><li><a href="http://www.duduyu.net/111" title="今天把ahwin接过来了">今天把ahwin接过来了</a></li><li><a href="http://www.duduyu.net/would-like-to-say" title="喜欢就要说出来">喜欢就要说出来</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.duduyu.net/see-how-80-port-occupancy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

