I've seen something similar to this on Linux. There might be a stray openocd process running in the background hogging port 6666.
On mac you'll probably have to run:
$ sudo lsof -i tcp:6666
If you find the PID of openocd in the PID column you can kill the process with:
$ kill -9 PID
2 Likes