# Digi Embedded Linux 5.7: Target selection failed

**URL:** <https://forums.digi.com/t/digi-embedded-linux-5-7-target-selection-failed/18515>\
**Category:** Linux\
**Tags:** me9210, digiel\
**Created:** [July 10, 2017, 11:07am UTC](https://forums.digi.com/t/digi-embedded-linux-5-7-target-selection-failed/18515 "2017-07-10T11:07:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeshnie](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@sandeshnie](https://forums.digi.com/u/sandeshnie)\
**Post date:** [July 10, 2017, 11:07am UTC](https://forums.digi.com/t/digi-embedded-linux-5-7-target-selection-failed/18515/1 "2017-07-10T11:07:37Z")

</div>

I am using DEL5.7 in VM. When I debug the Hello World application as ‘Remote C/C++ Application’, I get the following error:  
Target selection failed.  
192.168.0.230:8086: Connection refused.  
192.168.0.230:8086: Connection refused.  
192.168.0.230:8086: Connection refused.

I have checked the FTP connection and the settings look fine. Also, the binary is downloaded in /tmp.

When I run the application as ‘Remote C/C++ Application’, the binary is downloaded to /tmp, however, it doesn’t execute in Remote Console. If I login to the ME9210 module, I am able to run it in /tmp.

Any help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [July 11, 2017, 8:42am UTC](https://forums.digi.com/t/digi-embedded-linux-5-7-target-selection-failed/18515/2 "2017-07-11T08:42:12Z")

</div>

Are you able to telnet the board? Is gdb daemon running on target? Are you trying this with stock images on the module?

---

<div class="post-metadata">

**Author:** ![sandeshnie](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@sandeshnie](https://forums.digi.com/u/sandeshnie)\
**Post date:** [July 11, 2017, 2:09pm UTC](https://forums.digi.com/t/digi-embedded-linux-5-7-target-selection-failed/18515/3 "2017-07-11T14:09:38Z")

</div>

Yes, I am able to telnet into the board. No, gdb daemon is not running. How do I run it? No, I have loaded new image.

I have enabled ‘debug tools(strace, Itrace, gdb)’ under ‘pre build applications’ in the image.

Also, I don’t understand why in run configuration the binary is transferred to target but doesn’t run in the ‘Remote Console’.
