Tomcat Port number is occupied

Source: Internet
Author: User

Eclipse launches Tomcat Error: Several ports (8080, 8009) required by Tomcat v8.0 is already in use.

Eclipse launches Tomcat Error:

Several ports (8080, 8009) required by Tomcat v8.0 Server at localhost is already in use. The server may already is running in another process, or a system process could be using the port. To start this server you'll need to stop the other process or change the port number (s).

It can be judged that 8080, 8009 ports have been occupied, by the following methods to find out which process is occupied:

In the Windows box, enter Netstat-aon | findstr 8080

Obtaining the port is occupied by a process with a PID of 8060

Input tasklist |findstr 8060:

Can get the current port is Javaw.exe occupied

Continue entering Taskkill-f-im Javaw.exe or Taskkill/pid 8060/f

End the process

Start Tomcat normal again in eclipse

Tomcat Port number is occupied

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.