1.查看端口
运行cmd命令,输入

netstat -ano|findstr "50003"

运行结果:
windows查看端口占用

PID为 16720

2.查看占用程序
运行命令,输入

tasklist|findstr "16720"

运行结果:
windows查看端口占用

3.终止占用程序
运行命令,输入

taskkill /f /t /im python.exe

运行结果:
windows查看端口占用

相关文章:

  • 2022-01-04
  • 2021-11-25
  • 2021-12-19
  • 2022-01-13
  • 2021-11-20
  • 2022-01-11
猜你喜欢
  • 2021-12-04
  • 2021-07-09
  • 2022-01-30
  • 2022-02-17
  • 2022-02-14
相关资源
相似解决方案