windows环境:
1、netstat -aon | findstr "占用的端口号"
2、通过查询到的PID,查看占用端口的进程
tasklist | findstr "11556"
3、杀死进程
taskkill /pid 11556
linux环境: