关于java:使用Idea启动tomcat出现端口被占用的解决方案

1、问题形容:IDEA应用时,提醒”8080端口被占用”

Description:    The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.

2、解决办法:

① 开始—->运行—->cmd(window+R组合键),调出命令窗口

② 输出命令: netstat -aon|findstr 8080,能够看出占用端口的是PID为7324的过程

③ 能够关上工作管理器找到这个过程手动敞开,或者输出命令: taskkill /f /t /im 7324

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理