论坛首页 综合技术论坛

windows端口占用和应用定位

浏览 2337 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2017-12-01  

问题:Error was Port already in use: 40001

 

1. netstat -ano|findstr "40001"

  TCP    127.0.0.1:14043        127.0.0.1:40001        CLOSE_WAIT      12644
  TCP    127.0.0.1:40001        0.0.0.0:0              LISTENING       15400
  TCP    127.0.0.1:40001        127.0.0.1:14043        FIN_WAIT_2      15400

 2. tasklist |findstr "15400"

Dict.exe                     15400 Console                    2     43,316 K

 

把dict.exe关掉就OK了。

论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics