# OscP5 on Android mode not detect IP correctly

**URL:** https://discourse.processing.org/t/oscp5-on-android-mode-not-detect-ip-correctly/8343
**Category:** Processing for Android
**Created:** [February 13, 2019, 8:37am UTC](https://discourse.processing.org/t/oscp5-on-android-mode-not-detect-ip-correctly/8343 "2019-02-13T08:37:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![erkosone](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@erkosone](https://discourse.processing.org/u/erkosone)
#### Post date: [February 13, 2019, 8:37am UTC](https://discourse.processing.org/t/oscp5-on-android-mode-not-detect-ip-correctly/8343/1 "2019-02-13T08:37:48Z")

</div>

Hi people, y have a problem with OscP5 in Android mode…  
If i send data from phone to PC all wiil works fine 🙂

But when i send data from PC to Phone… data never arrives… in PC the initialization of OscP5 detects well the IP direction… but in phone… OscP5 detects only the direction 127.0.0.1 and not detect the correct IP “192.168.1.2”

Any solution for this?

---

<div class="post-metadata">

### Author: ![erkosone](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@erkosone](https://discourse.processing.org/u/erkosone)
#### Post date: [February 14, 2019, 8:55am UTC](https://discourse.processing.org/t/oscp5-on-android-mode-not-detect-ip-correctly/8343/2 "2019-02-14T08:55:24Z")

</div>

The most correct questios are: How i select Network interface to receive data with OscP5?

In android mode the detected IP are 127.0.0.1… this is not IP of wifi network adapter.  
And… in PC with windows… y have a wifi adapter and cable adapter network, how i select any adapter of the list?
