Unable to open debugger port in IntelliJ IDEA

后端 未结 29 1469
误落风尘
误落风尘 2021-01-30 08:21

I have a problem that I can not set up my application in debug mode with IntelliJ IDE, but run mode is OK.

My OS is Windows 7, IDE is IntelliJ IDEA, web container is Tom

29条回答
  •  逝去的感伤
    2021-01-30 08:33

    This works for me consistently (it happens to me from time to time, when I do things such a restart tomcat when I am running the integration tests, for example)

    1) Find the process that has the port 1099 open

    sudo netstat -anp | grep tcp | grep 1099
    cp6       0      0 :::1099                 :::*                    LISTEN      9857/java
    

    2) kill it

    kill 9857
    

    3) Start Tomcat.

提交回复
热议问题