項目問題(Windows10下根據端口,殺死進程)
Description:
Web server failed to start. Port 9090 was already in use.
①首先 鍵盤輸入(win+r),接着在運行對話框中輸入“cmd”,進入命令窗口
②輸入netstat -ano|findstr "端口號"
,回車即可查看到端口號對應的進程 我這裏測試端口號是9090
netstat -ano|findstr "9090"
③接着輸入tasklist|findstr "44656"
,回車
tasklist|findstr "44656"
④殺死進程 taskkill -PID <進程號> -F
taskkill -PID 44656 -F
我先測試的時候沒有-F被提示要-F
這裏-F代表強制執行命令
你就可以看到你的項目可以正常打開了
Hope that we can grow and progress as soon as possible and become an excellent Java Development Engineer.