windows查看端口占用情况


# 1. 开始---->运行---->cmd,或者是window+R组合键,调出命令窗口 # 2. 找出占用端口的PID netstat -aon|findstr "8080" # 3. 根据PID找出程序名 tasklist|findstr "21300"
# 4. 结束程序(建议用pid)

taskkill /f /t /im java.exe


 

posted @ 2020-01-17 15:17  chenzechao  阅读(145)  评论(0)    收藏  举报