Check if a port is being used on a Windows machine

来源:互联网 发布:linux arping命令 编辑:程序博客网 时间:2024/05/21 19:36



netstat -ano | findstr PORT 


tasklist | findstr PID


taskkill /im myprocess.exe /f
The "/f" is for "force". If you know the PID, then you can specify that, as in:


taskkill /pid 1234 /f

原创粉丝点击