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