Tomcat Debug Error: Unable to open debugger port (127.0.0.1:63199): java.net.BindException "Address already in use: NET_Bind"
Asked Answered
C

4

11

I woke up for work and started receiving this error, but I can't find this specific error anywhere.

I tried using netstat -ano to find any instances running on the aformentioned port, and also the ports I run Tomcat on:

HTTP port: 8090 JMX port: 1099

But no processes are running on any of the three ports. Any ideas?

Chambermaid answered 21/4, 2020 at 13:19 Comment(4)
Have you checked the 63199 port? Try restarting the PC. Check also this thread for solutions.Copulation
@Copulation I have looked for the port via netstat. I followed you link and took the TCPView software from the top of the list and none of the ports listed in my post appear on this list.Chambermaid
I can't seem to find a stack trace of this exception in the Jetbrain Directory or the Intellij Directory. How can I find a more comprehensive read out of this issue?Chambermaid
if you have installed any anti-virus, disable it and try once. -ibm.com/developerworks/community/forums/html/…Barragan
G
30

Oh,my! This helps me a lot

// run cmd as administator
net stop winnat
net start winnat

Before,I have tried this,but it doesn't work

ipconfig /flushdns
netsh winsock reset
Goldplate answered 12/1, 2022 at 3:16 Comment(5)
I did not closed my IDEA and it worked.Retrospect
Worked on IDEA 2021.3.3 and tomcat 9 debuggingBlaubok
It usually is not necessary to close your intelij. Still a great solutionPath
thanks,I have updated my answer. delete the step : restart your ideGoldplate
Stopping and starting winnat worked for me. IDEA 2023.3.4 debugging Tomcat 10. Thank you!!Stupidity
T
9

As for me,the problem begin when i use idea to debug my web application. Then i find where the port configured and change to another port.

intellij tomcat debug

Tachygraphy answered 6/11, 2020 at 8:32 Comment(1)
This works for me. Just change the port number. E.g. to 59072.Rasure
G
5

this link might be helpful

net stop winnat

launch your idea tomcat

net start winnat

Gefell answered 8/6, 2021 at 6:13 Comment(0)
B
0

Restart your Idea. It works for me.

Previously, I tried: net stop winnat. But not working. I got received the message:
"El servicio de Controlador de Windows NAT no se ha iniciado. Puede obtener más ayuda con el comando NET HELPMSG 3521."

Sorry for my English (fix me please)

Backler answered 21/7 at 3:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.