windos查看端口占用命令 netstat -ano |findstr "端口號"
通過id查找對應的進程名稱,使用命令tasklist |findstr "進程id號"
殺死進程 taskkill /f /t /im "14596"
解決辦法:提示端口被占用;將啟動程序換個端口即可
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Identify and stop the process that's listening on port 8000 or configure this application to listen on another port.
Web server failed to start. Port 8000 was already in use.