Skip to main content
Associate III
November 28, 2024
Question

Issue with Flashing Code to the Board: SWV and GDB Server Port Errors

  • November 28, 2024
  • 2 replies
  • 790 views

Hi everyone,

I occasionally run into an error when flashing code to my board using the IDE. The error message is as follows:

 

Failed to bind to port 61235, error code -1: No error 
Failure starting SWV server on TCP port: 61235 
Failed to bind to port 61234, error code -1: No error 
Failure starting GDB server: TCP port 61234 not available. 
Shutting down... 
Exit. 

 



Screenshot 2024-11-28 162549.png

This issue sometimes resolves after shutting down and restarting the IDE, but not always. Occasionally, I need to completely reinstall the IDE to get it working again.

Same issue has been discussed earlier by many users, but there doesn’t seem to be a consistent solution or preventive measure.

Does anyone know what might be causing this? Any proven steps to resolve or prevent it?

Thanks in advance for your insights!

 

2 replies

mƎALLEm
Technical Moderator
November 28, 2024

Hello,

Did you try the latest version of CubeIDE 1.17.0?

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Associate III
December 7, 2024

Yes, I am using the latest version of CubeIDE, but I am still getting this issue.