# Command line connection works, but le\_data does not in application

**URL:** <https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256>\
**Category:** Legato Application Framework\
**Created:** [June 17, 2020, 8:04pm UTC](https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256 "2020-06-17T20:04:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [June 18, 2020, 12:11am UTC](https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256/2 "2020-06-18T00:11:12Z")

</div>

Seems to be same issue

> [@Connected to network but no network access](https://forum.legato.io/t/connected-to-network-but-no-network-access/5240):
>
> Hi, I am working on getting a network connection via the le\_mdc\_interface. This is done via ‘le\_mdc\_StartSession’ with a valid profile. When I check via the CM data tool, then is see that the modem is connected to the network (as expected). However, I don’t have any connection to the ‘outside world’. When I try to ping for example: 8.8.8.8 I get the response: “PING 8.8.8.8 (8.8.8.8): 56 data bytes ping: sendto: Network is unreachable” However when I attempt to connect manually via the cm too…

---

_[View the full topic](https://forum.legato.io/t/command-line-connection-works-but-le-data-does-not-in-application/5256)._
