如何在Win7下结合cmd命令释放80端口

最近在使用登陆奇兵破解软件的过程中需要释放80端口,关闭IIS,由于期间遇到一些问题,经过一一解决后,最终顺利使用。

第一步,Win7开始菜单里面自带的“运行”命令可能无法执行CMD的命令,输入正常命令(如ping, netstat)后提示“不是内部或外部命令,也不是可运行的程序或批处理文件”。这时,我们需要在C:\Windows\System32下找到CMD.EXE然后右键以管理员身份执行,这样就可以正常使用了。当然,如果为了方便使用,你可以右键复制到开始菜单,即Windows命令处理程序。

第二步,我们需要找到哪些程序占用了80端口,并Cut掉以释放80端口。使用CMD命令,输入netstat –a –n –o,以我的电脑为例,得到如下信息:

C:\Windows\System32>netstat -a -n -o

活动连接

   协议     本地地址                      外部地址                        状态            PID

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       2564

  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       804

  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4

  TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       520

  TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       868

  TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       944

  TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING       600

  TCP    0.0.0.0:49164          0.0.0.0:0              LISTENING       576

  TCP    127.0.0.1:2559         0.0.0.0:0              LISTENING       1868

  TCP    192.168.1.102:139      0.0.0.0:0              LISTENING       4

  (后面省略)

上图中可以看到第一排显示的80端口被PID(进程号)为2564的程序占用。

第三步,启动任务管理器,选中“进程”标签,点击“查看”—“选择列”,选中PID(进程标识符),这样就可以看到每个进程的标识符,然后Cut掉相应的进程即可。

如何在Win7下结合cmd命令释放80端口》上有19条评论

  1. 匿名

    那我的为啥在出现活动连接时没有PID那列呢?只有前面的列的信息,那该怎么办啊?

    [回复]

    darren 回复:

    这个可以设置的,你可以参看第三步,选择显示PID

    [回复]

    回复
  2. Scott Tucker Leawood

    Hi there, just became alert to your blog through
    Google, and found that it’s truly informative. I am going to watch out for brussels. I will appreciate if you continue this in future. Many people will be benefited from your writing. Cheers!

    [回复]

    回复
  3. Erwafbaa

    I don’t like pubs http://www.zoji.com/1230629 free videos litle lolitas I love women who like to show themselves off ..especially long limbed flexible girls. The vid’s quality only detracted by poor props (old daggy couch, plywood walls…) and stupid story set up. Some dude just appears from left frame, grabs her tits, rubs her crotch and off we go….at least he’s got the equipment. Still…she looks like she enjoys her work and who wouldn’t want to be the object of her skilled interests ?

    [回复]

    回复
  4. Wrjeujwm

    Another year lolitas underage sex pics these two has a chemistry with each other he responded to her the way she wanted him to if u can do this to u’re wife or u’re girl friend it equal a squiting orgasm best sex u can have when she comes u continue so she will come again. after that she will hardly move for sometime i’ve done this already u feel that warm comes running down the side of u’re leg it thru

    [回复]

    回复

发表评论

邮箱地址不会被公开。 必填项已用*标注