Top community members
All Wiki Articles Create Wiki Article

Welcome to Dirask IT community! ❤ 💻
We are community that shares solutions with each other.

If you think you have something to add here.

you are welcome with your fresh ideas - List Articles

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

0 contributions
9 points

Problem description:

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:

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.

C:\Windows\System32>netstat -ano | findstr :50188
  TCP    192.168.0.242:50188    52.157.234.37:443      ESTABLISHED     6032

C:\Windows\System32>taskkill /PID 6032 /F
SUCCESS: The process with PID 6032 has been terminated.
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

 

0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more