windows终止端口
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
杀死在8080上运行的进程
C:\Users\RevisitClass>netstat -ano | findstr 8080
TCP 0.0.0.0:18080 0.0.0.0:0 LISTENING 19788
TCP [::]:18080 [::]:0 LISTENING 19788
cli杀死端口上正在侦听的内容
kill $(lsof -t -i:53) #Kill the process listening on port 53