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 , 192.168..:8000(the ip of itself) ,or localhost:8000, the target cannot connected.
please help me !

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 …

Are you root?