1.查看端口 运行cmd命令,输入
netstat -ano|findstr "50003"
运行结果:
PID为 16720
16720
2.查看占用程序 运行命令,输入
tasklist|findstr "16720"
3.终止占用程序 运行命令,输入
taskkill /f /t /im python.exe