关闭被占用端口
问题描述
***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 8083 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8083, or configure this application to listen on another port.
意思是端口被占用、需要关闭8083 端口
解决问题
第一步:进入CMD命令行、查询端口对应的PID
netstat -ano|findstr 8083
第二步:根据PID关闭该进程
【F参数:表示强制关闭】
taskkill /pid 17560 /F