telnet connection problems

Hi all,

I have the following curious behaviour on linux:

starting the openocd server (see the .cfg below) and connecting to it via

telnet localhost 4444

results in a

Trying 127.0.0.1…

telnet: Unable to connect to remote host: Connection refused

if I kill openocd in the commandline with Strg+c and restart it, the the connect is successful. i can exit and reconnect - everything is fine.

if i shutdown openocd, i have to start,kill,start before i can connect again.

is this a misconfiguration of my linux or openocd ?

Alex

http://www2.pt.tu-clausthal.de/~alexp/ … limex2.cfg