localhost:3333 error message in trying to debug NUCLEO-F401RE
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
The problem for me was that openocd wasnt starting at all. It seemed to need access to ports 4444 and ports 6666.
So do a netstart -an | grep LISTEN and see if they are already being used by other systems.