cancel
Showing results for 
Search instead for 
Did you mean: 

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

Shreayas_Acharaya
Associate III

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 2
SofLit
ST Employee

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.
Shreayas_Acharaya
Associate III

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