Troubleshooting 8080 port occupancy after eclipse forced shutdown

Source: Internet
Author: User
This article describes the solution to the problem of 8080 port occupancy after eclipse forced shutdown, with the need for a friend to refer to it.

Eclipse occupied the machine's memory is very large, because of some unknown situation eclipse suddenly died, this time had to kill eclipse this process, and then restart. If you do this, you will not start properly when you start the Tomcat server in eclipse again.

Cause: Port 8080 is occupied.

Workaround:

The first method: Restart the machine, which is usually called the fool level operation;

The second method:

The first step is to look at the PID of the process that occupies the 8080 port. In the cmd window of Windows, type the following command: Netstat-ona > e:\target.txt//output details to file Target.txt

The second step is to find the PID value corresponding to the 8080 port in the Target.txt

In the third step, enter the following command to kill the process taskkill/f/pid {The PID number of the process corresponding to port 8080}

  • 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.