Languages
[Edit]
EN

Intellij IDEA - can't start tomcat because of Address already in use: JVM_Bind - kill tomcat on windows from cmd level

12 points
Created by:
Emrys-Li
580

Problem description:

Edit

I can't start tomcat from Intellij IDEA because port 8080 is already in use. It happened when I stopped tomcat from Intellij level by clicking on stop server button. I work on windows 10.

Intellij IDEA - error running 'my_project': Unable to open debugger port (127.0.0.1:50188): java.net.BindException "Address already in use: JVM_Bind"

Intellij IDEA - error running 'my_project': Unable to open debugger port (127.0.0.1:50188): java.net.BindException "Address already in use: JVM_Bind"
Address already in use: JVM_Bind - problem

Solution:

Edit

As we can see from screenshot the port taken is 50188 on 127.0.0.1

So we just need to find PID of the process that wasn't killed in correct way and kill it from cmd level.

kill tomcat on windows from cmd level
kill tomcat on windows from cmd level

And tomcat is up and running, screenshot:

tomcat is up and running, screenshot
tomcat up and running again

 

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join