web applications – Address already in use: JVM_Bind java
web applications – Address already in use: JVM_Bind java
Address already in use: JVM_Bind
means that some other application is already listening on the port your current application is trying to bind.
what you need to do is, either change the port for your current application or better; just find out the already running application and kill it.
on Linux you can find the application pid by using,
netstat -tulpn
In windows this scenario happens when Eclipse crashes without a clean shutdown it will have the local Jetty or Tomcat server keep running.
When you reopen Eclipse and try to start server again this will lead to the Address already in use: JVM_Bind
You can solve this by opening Task Manager and find the javaw.exe process and ending it.
Then you can restart the server on Eclipse.
web applications – Address already in use: JVM_Bind java
I usually come across this when the port which the server (I use JBoss) is already in use
Usual suspects
- Apache Http Server => turn down the service if working in windows.
- IIS => stop the ISS using
- Skype =>yea I got skype attaching itself to port 80
To change the port to which JBoss 4.2.x binds itself go to:
C:jboss4.2.2serverdefaultdeployjboss-web.deployerserver.xml
here default is the instance of the server
change the port here :
<Connector port=8080
address=${jboss.bind.address} >
In the above example the port is bound to 8080