系统端口占用问题
2022-07-02
  1. 查询端口占用netstat -ap | grep xxxx

  2. 查询Hyper-V预留端口netsh interface ipv4 show excludedportrange protocol=tcp

  3. 排除保留端口号:netsh int ipv4 add excludedportrange protocol=tcp startport = 起始端口 numberofports = 端口保留数量

  4. 关闭进程:taskkill -f -pid xxxx