IntelliJ should assist in killing process upon port conflict
已回答
Hi!
Quite often when starting a process which will listen to port 8080, this port is already in use by another process, and the new process exits. It would be nice if IntelliJ offered some help in this common situation:
1. Kill the other process?
2. Update the application settings to use another port? In my case this would be updating `application.yml` since I run a lot of Spring Boot apps.
Sometimes there's a hanging process (for instance if IntelliJ crashed) and then number 1 above is very helpful since it might be hard for some users to find the hanging process and kill it.
请先登录再写评论。
Please feel free to file a request in tracker: https://youtrack.jetbrains.com/issues/IDEA
Not sure if 2. makes much sense to implement though. There are potentially many places where the port should be changed and it is not possible to know all the possible configurations.
KillPort pluggin saved my lifefime
https://plugins.jetbrains.com/plugin/18615-killport
it's in Chinese i guess but enought usable for me anyway my mother tong is not english anyway