solution:
write "netstat -ano"command in CMD mode
find out the PID of the Processes which are using those ports (most time 8005 8009 8080) which is needed by tomcat
open the windows program manage tool and find the PID is which process owning by, stop it
restart tomcat
done!
OR u can change the defalt port of tomcat , open file /tomcat/conf/sever.xml , change port "8080" to some free port (8888,8123.....anyone....)
本文介绍了当Tomcat遇到端口冲突时的两种解决方案:一是通过CMD命令找到占用所需端口(如8005、8009、8080)的进程并停止它,然后重启Tomcat;二是修改Tomcat默认端口,打开/tomcat/conf/server.xml文件,将端口“8080”更改为其他空闲端口。
1万+

被折叠的 条评论
为什么被折叠?



