# "Response with status: 0 for URL: null" on actual android device

**URL:** <https://forum.ionicframework.com/t/response-with-status-0-for-url-null-on-actual-android-device/78251>\
**Category:** ionic-v3\
**Created:** [February 2, 2017, 11:14pm UTC](https://forum.ionicframework.com/t/response-with-status-0-for-url-null-on-actual-android-device/78251 "2017-02-02T23:14:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mjloturco](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mjloturco](https://forum.ionicframework.com/u/Mjloturco)\
**Post date:** [February 2, 2017, 11:14pm UTC](https://forum.ionicframework.com/t/response-with-status-0-for-url-null-on-actual-android-device/78251/1 "2017-02-02T23:14:30Z")

</div>

Hi everyone,  
My application can send http calls to and get data from my backend server just fine when tested with ionic serve. But when I build and run it on an android device it instead gives the error

EXCEPTION: Response with status: 0 for URL: null  
GET net::ERR\_TIMED\_OUT

I don’t think this is a CORS error, as my backend is set up to allow for that, and because other posts seem to imply CORS issues are not supposed to happen on device, only in serve. Any idea why this might be happening just on device and not in serve, and how i might fix it?

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [February 2, 2017, 11:26pm UTC](https://forum.ionicframework.com/t/response-with-status-0-for-url-null-on-actual-android-device/78251/2 "2017-02-02T23:26:58Z")

</div>

I’m not sure about your particular situation, but CORS problems do indeed occur on devices. I never use emulators, and have run into problems when API endpoints were not properly whitelisted.

---

<div class="post-metadata">

**Author:** ![Mjloturco](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Mjloturco](https://forum.ionicframework.com/u/Mjloturco)\
**Post date:** [February 2, 2017, 11:47pm UTC](https://forum.ionicframework.com/t/response-with-status-0-for-url-null-on-actual-android-device/78251/3 "2017-02-02T23:47:51Z")

</div>

Turns I had a firewall up stopping incoming traffic to my server from other devices.

Followed this to allow my server to actually be reachable.

> <https://stackoverflow.com/questions/2184013/viewing-my-iis-hosted-site-on-other-machines-on-my-network>
