how can i run my program on local host in IDE?

Each time when i run my program with qnx c/c++ Aplication method, a message box pop up.“an internel error…”, if i run it with w/profile method, i can not find the target, even if i set the target ip 127.0.0.1:8000 , 192.168..:8000(the ip of itself) ,or localhost:8000, the target cannot connected.
please help me !
thanks!

IF you want to connect to localhost you will have to run a local copy of qconn.

Thanks a lot! The problem has been solved! Now I can run the program on the host.
But when i run the qconn , there is always a message :unable attach to memory debug device operation not permitted …
Why?

Are you root?