# HttpGet(sample code) don't work on WP7605. "failed to read /etc/resolv.conf: Permission denied"

**URL:** <https://forum.legato.io/t/httpget-sample-code-dont-work-on-wp7605-failed-to-read-etc-resolv-conf-permission-denied/6279>\
**Category:** Legato Application Framework\
**Created:** [August 31, 2022, 1:51pm UTC](https://forum.legato.io/t/httpget-sample-code-dont-work-on-wp7605-failed-to-read-etc-resolv-conf-permission-denied/6279 "2022-08-31T13:51:50Z")\
**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:** [August 31, 2022, 3:08pm UTC](https://forum.legato.io/t/httpget-sample-code-dont-work-on-wp7605-failed-to-read-etc-resolv-conf-permission-denied/6279/2 "2022-08-31T15:08:31Z")

</div>

Here says you need to use unsandboxed app or using real ip address inside the .c file

> [@Cannot Sandbox App](https://forum.legato.io/t/cannot-sandbox-app/5554/5):
>
> Ok after instaling the httpGet example i get the exact same problem. When Sandboxed i get “Cannot resolve Hostname”, but unsandboxed it works fine. (I didn’t change anything in the sample app, except the sandbox state for testing)

Or you can try swi-wp76\_5.2.0 with legato 20.08

> [@MQTT Connection issues on WP7702 \[AWS\]](https://forum.legato.io/t/mqtt-connection-issues-on-wp7702-aws/5617/4):
>
> seems related to this one: I remember when I used the httpget sample with WP76 module, there is same problem of getting IP address inside application and this is fixed in later FW with legato 20.04. Currently you might try method to get IP addres inside program:

---

_[View the full topic](https://forum.legato.io/t/httpget-sample-code-dont-work-on-wp7605-failed-to-read-etc-resolv-conf-permission-denied/6279)._
