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即可。

      

  • 相关阅读:
    android 访问SD卡的方法
    android 用Achartengine 作图
    hello
    IIS 7.0 "确认文件是否存在"功能
    test
    收藏:如何在Web页面上直接打开、编辑、创建Office文档
    JavaScript面向对象技术
    正则表达式30分钟入门教程
    JWT有状态登陆与无状态登陆
    20条JavaScript代码简洁的写法
  • 原文地址:https://www.cnblogs.com/qilin20/p/12342866.html
Copyright © 2011-2022 走看看