1
netstat -ano
netstat -ano | findstr "端口号"
1 2
tasklist | findstr "进程id号" #列出进程名称 taskkill /f /t /im "进程id或者进程名称" #结束进程