zoukankan      html  css  js  c++  java
  • Port 8009 required by Tomcat v8.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port.

      今天启动web项目时报错“Port 8009 required by Tomcat v8.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).”

      

      问题分析:端口 8080, 8009被占用了。可能是在打开Tomcat的情况下关闭了Eclipse,或是Eclipse非正常关闭,导致先前的Tomcat没有被关闭,端口占用,又或是其他软件占用了tomcat的端口号。

      解决办法:杀掉占用端口的软件。

      步骤:

      1.右键“开始”,点击“运行”。

       

      2.输入“cmd”

      

      3.输入"netstat -ano"命令,可以查看哪个进程占用了8080和8009端口,找到占用端口软件的PID,然后在任务管理器找到对应PID的软件,关闭结束该进程即可。如果任务管理器中没有显示PID列,需要设置,查看---》选择列---》勾选“PID(进程标识符)”。 

       

      

       在任务管理器中找的12568对应的进程,结束该进程后重启Eclipse中Tomcat即可。

      

  • 相关阅读:
    JavaScript的性能优化:加载和执行
    JS获取图片的原始尺寸
    深入理解js构造函数
    Revit二次开发 获取缩略图
    WPF listbox分页
    WPF ListBox 图片显示及分页
    Revit禁用RibbonPanel
    C# excel 单元格居中
    WPF TreeView
    WPF ListView绑定数据
  • 原文地址:https://www.cnblogs.com/qilin20/p/12342866.html
Copyright © 2011-2022 走看看