netstat -ano

查看端口情况

 

tasklist|findstr “9220”

通过PID号“9220”查看对应端口被什么进程占用了

 

netstat -aon|findstr "8080"

查看端口8080对应的PID

 

tskill 1844

结束PID为1844的进程

 

posted on 2020-06-02 18:06  pskcoco  阅读(852)  评论(0编辑  收藏  举报