话说,某些程序常常会提醒,某某端口忙碌,某某端口不可用等坑爹提示。 如果你有安装神马工具,自然很好找到某端口占用程序,但是如果你木有安装呢,或者你不屑与那么看呢? CMD吧,绿色无污染的方法.

C:\>netstat -ano | findstr "80"
  TCP    192.168.0.100:4824     211.166.9.25:80        CLOSE_WAIT      2376
  TCP    192.168.0.100:5177     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5178     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5179     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5180     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5181     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5182     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5183     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5184     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5185     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5186     61.155.169.116:80      SYN_SENT        3664
  TCP    192.168.0.100:5187     61.155.169.116:80      ESTABLISHED     3664
  TCP    192.168.0.100:5188     61.155.169.118:80      ESTABLISHED     3664
  TCP    192.168.0.100:5189     61.155.169.118:80      ESTABLISHED     3664
  TCP    192.168.0.100:5190     203.208.46.188:80      ESTABLISHED     3664
  TCP    192.168.0.100:5191     203.208.46.188:80      ESTABLISHED     3664
  TCP    192.168.0.100:5192     61.155.169.117:80      ESTABLISHED     3664
  TCP    192.168.0.100:5193     61.155.169.117:80      ESTABLISHED     3664
  TCP    192.168.0.100:5194     61.155.169.117:80      SYN_SENT        3664
  TCP    192.168.0.100:5195     61.155.169.117:80      SYN_SENT        3664
  TCP    192.168.0.100:5196     67.228.183.34:80       ESTABLISHED     3664
  TCP    192.168.0.100:5197     67.228.183.34:80       ESTABLISHED     3664
  TCP    192.168.0.100:5198     125.39.101.20:80       ESTABLISHED     3664
  TCP    192.168.0.100:5199     125.39.101.20:80       ESTABLISHED     3664
  TCP    192.168.0.100:5200     203.208.46.186:80      ESTABLISHED     3664
  TCP    192.168.0.100:5201     203.208.46.186:80      ESTABLISHED     3664
  TCP    192.168.0.100:5202     203.208.46.186:80      ESTABLISHED     3664
  TCP    192.168.0.100:5203     203.208.46.233:80      ESTABLISHED     3664
  TCP    192.168.0.100:5204     203.208.46.233:80      ESTABLISHED     3664

C:\>tasklist | findstr "3664"
chrome.exe                    3664                            0     70,940 K

C:\>

接着关闭掉就OK了.

2011-10-11_203318