Kill a stolen port guy in Windows Home

Source: Internet
Author: User

Today, write a project, write a lot of code, and then run the success, but the information returned there is the logic of the whole code is a bit of a problem, so review the code, changed something, and then start the service again, but, the problem is:Address already in use: Jvm_bind

Good to do, find the task Manager to kill should not have the process, the process by guessing, kill a few, once again start, success!

If all things can be like this, as long as the removal of some innocent things can make the most important things better, then how good.

Unfortunately, the damned 8080 always by inexplicable wonderful things to occupy, and then in the nature of the programmer, can be automated things are absolutely not manual operation, can be a little mouse will never plug the inertia of the mouse line, write a script to complete the cleanup work automatically, free of annoyance.

OK, clean up work begins:

Gets the list of programs that are running under the specified port number:

2000

And then shoot:

Taskkill-pid < process number >-F

When it's over, kill it.

Kill a stolen port guy in Windows Home

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.