查看所有的网络连接 netstat -ano 查找端口所在的进程ID netstat -ano | findstr "LISTENING"| findstr ":3389" kill进程 taskill /F /PID 3567(进程ID)