如何查看端口被占用

最近在做有关WCF的系统,可能是在方法回调的过程中会默认通过TCP:80端口,报错为80端口被占用,然而我又不知道什么程序占用了80端口,上网一找,没想真不少人碰到我一样的问题,嘿嘿。

run "netstat -ano" on DOS, and then you can see all ports being used, find the port you want to see, remember the PID, you know, you can find the PID corresponding Program in task manager.

posted @ 2009-02-24 14:33  TerryGao  阅读(2385)  评论(1编辑  收藏  举报