window解除端口占用

(1)查看端口的pid进程号

netstat -ano | findstr 8080

(2)根据pid进程号杀掉对应进程,端口占用即可解除

taskkill -pid 10484 -f

原文地址:https://www.cnblogs.com/mituxiaogaoyang/p/9222890.html