zoukankan      html  css  js  c++  java
  • Eclipse启动Tomcat错误:Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already

     

    Eclipse启动Tomcat错误:

    Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are 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端口已经被占用,通过以下方法,找出被哪个进程占用:

    在命令提示符下,输入netstat -aon | findstr 8080

    获得该端口被PID为848的进程占用

    输入tasklist |findstr 848:

    可以获得当前端口被javaw.exe占用

    继续输入taskkill -F -IM javaw.exe或taskkill /pid 848 /F

    结束该进程

    再次在eclipse中启动tomcat正常

  • 相关阅读:
    oracle-PL/SQL1
    ROS之Gazebo
    ROS之urdf 2
    ROS之urdf 1
    ROS 面部识别
    ROS x Arduino
    STM32F0的低功耗模式
    项目进度
    C++函数返回为引用
    STM32F0的多路ADC 无DMA
  • 原文地址:https://www.cnblogs.com/lykbk/p/223234324343434ddfdddcdcdccdcdc.html
Copyright © 2011-2022 走看看