In the Windows operating system, how to terminate the 8080-port-owned Tomcat process

Source: Internet
Author: User
Tags tomcat server

In the Windows operating system, when we start a Tomcat server, we often find that 8080 ports have been used incorrectly, and we don't know how to stop this tomcat server.

This article will force a command to terminate this already running Tomcat process as follows:

1, first find to occupy 8080-port process number PID is how much

Cmd>netstat-ano | findstr 8080

The last column in the output of this command indicates the number of process numbers that occupy port 8080, assuming 1234

2, kill the process

cmd>taskkill/f/pid 1234

So the 8080 port is released.

Related Article

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.