windows干掉指定端口占用程序

netstat -aon|findstr "8091"


taskkill /T /F /PID ${PID}
${PID}是获取到的端口程序的pid

posted @ 2022-04-26 10:47  许伟强  阅读(30)  评论(0)    收藏  举报