查看端口5287: netstat -ano | findstr "5287"
查看PID对应的进程:tasklist | findstr "7432" (注 7432是进程的id即PID)
终止进程:taskkill /PID "12392" /F (注 12392是进程的id即PID)
也可以通过 TCPView查看port/pid
https://docs.microsoft.com/zh-cn/sysinternals/downloads/tcpview
查看端口5287: netstat -ano | findstr "5287"
查看PID对应的进程:tasklist | findstr "7432" (注 7432是进程的id即PID)
终止进程:taskkill /PID "12392" /F (注 12392是进程的id即PID)
也可以通过 TCPView查看port/pid
https://docs.microsoft.com/zh-cn/sysinternals/downloads/tcpview