windows7关闭占用端口

1、找到端口名(3004)

  netstat -aon | findstr "3004"

2、找到pid

  tasklist|findstr "6412"

3、关闭端口

  taskkill /pid 7576 -t -f

你可能感兴趣的:(运维)