EN
Intellij IDEA - can't start tomcat because of Address already in use: JVM_Bind - kill tomcat on windows from cmd level
12 points
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"

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.
xxxxxxxxxx
1
C:\Windows\System32>netstat -ano | findstr :50188
2
TCP 192.168.0.242:50188 52.157.234.37:443 ESTABLISHED 6032
3
4
C:\Windows\System32>taskkill /PID 6032 /F
5
SUCCESS: The process with PID 6032 has been terminated.

And tomcat is up and running, screenshot:
