windows下查看端口被哪个进程占用时间:2023-03-10 03:28:40 1.netstat -anp|findstr "port" 得到进程id 2.tasklist|findstr "pid" 得到是进程名