window 中关于端口被占用的解决 443 failed: port is already allocat.

window 中关于端口被占用的解决 443 failed: port is already allocat.

背景

当前遇到的问题

Error starting userland proxy: Bind for 0.0.0.0:443 failed: port is
already allocated

解决

  • 第一步
    打开 cmd -》 输入:netstat -ano | findstr “443”
    其中 7784 是对应的 PID
  • 第二步
    在命令行中输入:tasklist | findstr “7784” 查到占用该端口的应用程序
  • 第三步
    打开任务管理器,在进程中找到 vmware-hostd.exe 并将它 kill 掉