windows查看端口被谁占用了 查看被占用端口对应的PID netstat -aon|findstr 6379 查看是哪个进程或者程序占用了6379端口 tasklist |findstr 12836 结束该进程 taskkill /f /t /im qq.exe