美文网首页
windows 下关闭端口占用

windows 下关闭端口占用

作者: 若水亦城空 | 来源:发表于2019-11-13 10:43 被阅读0次

    windows10下关闭端口占用

    ftrrr

    占用查询端口的pid查询
    netstat -ano|findstr "9097"
    netstat -ano|findstr "8080"
    netstat -ano|findstr "8081"
    
    
    TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       11304
      TCP    [::]:8080              [::]:0                 LISTENING       11304
    
    TCP    0.0.0.0:8081           0.0.0.0:0              LISTENING       5316
    
    
    查找对应的  LISTENING 的值
    
       8080  对应  11304
      8081  对应  5316
    
    关闭对应 (端口号  )pid
    taskkill  -F -PID 11304
    taskkill  -F -PID 5316
    

    相关文章

      网友评论

          本文标题:windows 下关闭端口占用

          本文链接:https://www.haomeiwen.com/subject/syhhictx.html