Address already in use:jvm_bind:8080 resolution on the problem of XXX port occupancy __java

Source: Internet
Author: User
Address already in use:jvm_bind:8080 In the process of doing Java EE today, there is a problem with the Debug page: Address already in use:jvm_bind:8080, which is the problem of 8080 port occupancy, you can clearly see the error information about the port in the JVM in the console.
Lifecycleexception:  service.getname (): "Catalina";  Protocol handler start failed:java.net.BindException:Address already in use:jvm_bind:8080 at
	Org.apache.catalina.connector.Connector.start (connector.java:1139) at
	Org.apache.catalina.core.StandardService.start (standardservice.java:531) at
	Org.apache.catalina.core.StandardServer.start (standardserver.java:710) at
	Org.apache.catalina.startup.Catalina.start (catalina.java:566) at
	Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) at
	Sun.reflect.NativeMethodAccessorImpl.invoke ( nativemethodaccessorimpl.java:57) at
	Sun.reflect.DelegatingMethodAccessorImpl.invoke ( delegatingmethodaccessorimpl.java:43) at
	Java.lang.reflect.Method.invoke (method.java:606)
	at Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:288) at
	Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:413)
My solution: 1. Since it is the port occupancy, to solve the port occupancy, the simplest way is to first close the port 8080; 2. Use the instruction of Linux, press Alt+r to enter the console page of the system in front of the computer table, use cmd instruction; 3. On the cmd page input: Netstat-ano can view the system of the relevant port usage situation, find 8080 ports,
locate the corresponding port-consuming program in Task Manager through the corresponding PID 8048.
then the process is over, and the rerun process is wide ...

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.