Error running Tomcat 6: Address localhost:8080 is already in use
Posted Mr_Elliot
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error running Tomcat 6: Address localhost:8080 is already in use相关的知识,希望对你有一定的参考价值。
错误原因:
8080端口被其他的应用占用!
解决方案:
第一步,命令提示符号,执行命令:netstat –ano
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 656
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 656
可见,占用8080端口的进程的PID是656
第二步,命令提示符号,执行命令:tasklist
图像名 PID 会话名 会话# 内存使用
========================= ====== ================ ======== ============
TNSLSNR.exe 656 Console 0 8,992 K
可见,该占用8080端口的进程是TNSLSNR.exe
第三步,通过任务管理器,终止进程TNSLSNR.exe
第四步,重新启动tomcat,即可正常启动
以上是关于Error running Tomcat 6: Address localhost:8080 is already in use的主要内容,如果未能解决你的问题,请参考以下文章
IDEA配置Tomcat报错Error running Tomcat9.0怎么解决?
Error running Tomcat8: Address localhost:8080 is already in use 的错误
IDEA 启动项目时报错:Error running tomcat Can‘t find catalina.jar解决办法
idea启动Tomcat遇到错误:Error running 'Tomcat 7.0.912': Address localhost:1099 is already in use;解决
idea tomcat热部署 Error running 'Tomcat 7': Unable to open debugger port (127.0.0.1:3622): java
Error running Tomcat8: Address localhost:1099 is already in use错误