Unable to open debugger port in IntelliJ IDEA

后端 未结 29 1678
误落风尘
误落风尘 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:45

    My assumption that this exception usually occurs when Tomcat is improperly closed and still holding the ports. Usually it is enough to kill any process listening to 1099 port. For Window 10:

    netstat -aon | find "1099"
    
    
    taskkill /F /PID $processId
    

提交回复
热议问题