cmd 命令 Posted on 2016-11-19 | In Windows I am BlankCat ,welcome to my blog; 技术要点12345678910111213141516171819202122232425The nexus service is already running with status: RUNNING端口号被占用1查看所有端口netstat -ano2查看固定端口C:\>netstat -aon|findstr "8081" 协议 本地地址 外部地址 状态 PID TCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 20163.查看PID对应的进程C:\>tasklist|findstr "2016" 映像名称 PID 会话名 会话# 内存使用 ========================= ======== ================ tor.exe 2016 Console 0 16,064 K 查看taskkill这个用法C:\Windows\System32\taskkill /?杀死进程C:\Windows\System32\taskkill /PID 11052强制杀死进程C:\Windows\System32\taskkill /F /PID 11052