Windows 查看对应端口的进程号:netstat -ano |findstr "端口号" 杀掉以上进程号: taskkill /f /t /im 进程号 Linux 转载于:https://www.cnblogs.com/tianshu/p/11075412.html