zoukankan      html  css  js  c++  java
  • 端口占用

    这里主要是用到windows下的DOS工具,

    点击"开始"--"运行",输入"cmd"后点击确定按钮,进入DOS窗口,接下来分别运行以下命令:  
      
    >netstat -aon | findstr "80"
       Proto Local Address Foreign Address State PID
       ==== ============ ============== ========== ======
       TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1688    


    可以看出80端口被进程号为1688的程序占用.


    >tasklist | findstr "1688"
      图像名 PID 会话名 会话# 内存使用
       ========================= ====== ================ ======== ============
       inetinfo.exe 1688 Console 0 2,800 K 
       

    很明显,是inetinfo占用了80端口;inetinfo.exe主要用于支持微软Windows IIS网络服务的除错,这个程序对你系统的正常运行是非常重要的.
       >taskkill /pid 1688 /F
       成功: 已终止 PID 为 1688 的进程。

  • 相关阅读:
    Java学习心得16
    Java学习心得15
    Java学习心得14
    Java学习心得13
    Java学习心得12
    Java学习心得11
    Java学习心得10
    Java学习心得09
    Java学习心得08
    JVM垃圾回收
  • 原文地址:https://www.cnblogs.com/Struts-pring/p/5056058.html
Copyright © 2011-2022 走看看