Java.net. bindexception: address already in use: jvm_bind: 8080

Source: Internet
Author: User

Obviously, the above prompt shows that the port 8080 has been occupied, so it is enough to kill the process that occupies the port. The following question is how to know which process occupies the port number. Google get the followingArticle: Http://www.cnblogs.com/yanchaochao/archive/2009/03/30/netstat.html. Note:

To view all the connection and listening ports, you can add the-a parameter to display the process ID of each connection. You can add the-O parameter. After the process ID is found, you can find the PID process in the Process Manager of windows. By default, the Process Manager of Windows does not display the PID, you can choose [view]> [Select column] to view the PID. Then, the PID is displayed in the process viewer.

Obviously, in this way, you only need to find the process that occupies the port number, kill it, and the error disappears.

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.