定位windows端口占用进程
文章目录
问题:Error was Port already in use: 40001
key: netstat -ano|findstr tasklist |findstr
- netstat -ano|findstr "40001"
TCP 127.0.0.1:14043 127.0.0.1:40001 CLOSE_WAIT 12644
TCP 127.0.0.1:40001 0.0.0.0:0 LISTENING 15400
TCP 127.0.0.1:40001 127.0.0.1:14043 FIN_WAIT_2 15400
- tasklist |findstr "15400"
Dict.exe 15400 Console 2 43,316 K
把dict.exe关掉就OK了。
---[2017-12-01]---
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论