Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost is already in use. The serve

Source: Internet
Author: User

Today, with Eclipse debugger, Eclipse is stuck, and I'm done with Task Manager to end the eclipse task. As a result, when you reopen eclipse, the 8080 port has been reported as having the following error when starting Tomcat:

Several ports (8080, 8009) required by Tomcat v6.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).

A newspaper mistake will know that 8080 port is accounted for, go to the task Manager to find "Javaw.exe", and then end it. But the "Javaw.exe" was not found, so the solution came.

1. Enter Netstat-ano |findstr 8080 on the cmd command line

2. Then enter: Taskkill/pid 4884/f

The parameter behind the PID in the second step is the PID of the corresponding port. You want to ask me what is PID, I am Baidu, and I looked at also forget the PID is what, I can only let you Baidu ...

Problem-solving:


Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost is already in use. The serve

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.