window TOMCAT 端口被占用了怎么办?

查看80端口被哪些程序占用了

netstat -ano|findstr "80"

根据pid(进程id) 查询对应的应用程序

tasklist|findstr "1828"

根据名称 结束该程序

taskkill /f /t /im java.exe

原文地址:https://www.cnblogs.com/chinaifae/p/10296996.html