cancel
Showing results for 
Search instead for 
Did you mean: 

ST link error: Failed to bind to port 61235; Failure starting SWV server

meena
Associate III

Hi I am experiencing an issue on my IDE I couldn't able to Run/Debug .However the ST Link can be communicated with the target in STM32 Cube programmer but not in STM32 cube IDE.

meena_0-1742378983077.png

Console  Error:

STMicroelectronics ST-LINK GDB server. Version 7.7.0

Copyright (c) 2024, STMicroelectronics. All rights reserved.

 

Starting server with the following options:

Persistent Mode : Disabled

Logging Level : 1

Listen Port Number : 61234

Status Refresh Delay : 15s

Verbose Mode : Disabled

SWD Debug : Enabled

InitWhile : Enabled

 

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.

 

 

Can someone Please help me

 

13 REPLIES 13

@meena wrote:

Failed to bind to port 61235, error code -1: No error

Failure starting SWV server on TCP port: 61235


Suggest a "network" issue (even if everything is local to the same PC).

STM32CubeIDE does require some Windows Firewall exceptions - presumably for this kind of stuff.

So maybe something has messed with that...?

mƎALLEm
ST Employee

Or try to unisntall CubeIDE and install the latest version 1.18.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.

its windows defender blocking the St_link server.Thanks for the support.

 

Yes Updated and still its Firewall blocking the Stlink server. Thanks for the support.