Thursday, 20 February 2014

java.net.BindException:Address already in use:JVM_Bind ( Tomcat startup problem )

This exception is self explanatory, its saying that a Java application is trying to connect on port but that port is already used by some other process and JVM Bind to that particular port, is failed. Now to fix this error you need to find out which process is listening of port your connecting, we will how to find a process which is listening on a particular port

Find process which is listening on port 8080 in Windows netstat command.

C:\>netstat -ano | find "8080"


Now kill the process

 
Now Process killed successfully.



 

No comments: