cancel
Showing results for 
Search instead for 
Did you mean: 

Error localhost:61234: Connection timed out.

ADębs.1
Senior

Error in final launch sequence:

Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

localhost:61234: Connection timed out.

Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

localhost:61234: Connection timed out.

Why?

22 REPLIES 22
MichalPorazko
Associate III

In my case it was just restarting the computer, I have windows 11 and CubeIDE 1.17.0

Had the same problem. When I connected both usb ports [one through ST-LINK\V3-SWD and one directly to other USB VCP it works!], when I disconnect USB VCP it does not work. Seems to be current/voltage related.

No CubeIDE reset helped. 

No Cubeprogrammer erase helped.

No PC restart helped.

No debugger server port reset helped.

Luckilly my board had two (2) usb ports => more current to put MCU in configuration mode!

[some other guy even connected pull up resistors, or SWD flying wires].

Hi @CHRISTOS_PENOGLIDIS , 

Please follow this article How to solve debugger connection issues.

Check Debug pins (SWDIO, SWCLK) are correctly configured.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen