查看所有端口 netstat -aon
netstat -aon
查看具体某个端口 例如查看10000端口 netstat -ano|findstr "10000"
netstat -ano|findstr "10000"
关闭10000端口 taskkill /pid 67724 /t /f
taskkill /pid 67724 /t /f