# Processing listening to wrong IP address when receiving UDP message

**URL:** <https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175>\
**Category:** Libraries\
**Created:** [February 6, 2019, 8:29pm UTC](https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175 "2019-02-06T20:29:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saadjumani](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/saadjumani/32/3570_2.png) [@saadjumani](https://discourse.processing.org/u/saadjumani)\
**Post date:** [February 6, 2019, 8:29pm UTC](https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175/1 "2019-02-06T20:29:19Z")

</div>

Hi everyone, I have been trying to connect my NodeMCU device to Processing 3 running on my pc through OSCP5 library through which I am trying to recieve OSC message through UDP port over my local wifi.

The problem is that when I run processing, it listens to the right port, but wrong IP address. My IP address was 192.168.10.27. This is also the IP address I am sending to from NodeMCU. But processing keeps listing my IP address as 192.168.56.1.

My actual IP vs IP address processing is listening on.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/cb1ae598a7fdcd830497d5c5c6a708f163ed2a95.png)

In a noob but my guess is that processing is running on top of some sort of Virtual Machine or other emulated/virtual environment, which has a different IP address setting from my actual pc. If that its the case kindly help me solve it.

I am following this code from GitHub:

> **[jrowberg/i2cdevlib](https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050/examples/MPU6050_DMP6_ESPWiFi)**
>
> I2C device library collection for AVR/Arduino or other C++-based MCUs - jrowberg/i2cdevlib

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [February 7, 2019, 6:01am UTC](https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175/2 "2019-02-07T06:01:09Z")

</div>

Are you providing the IP address during your connection? Check the [docs](http://www.sojamo.de/libraries/oscP5/reference/index.html): `OscP5(Object theParent, String theAddress, int thePort, int theMode)`

Kf

---

<div class="post-metadata">

**Author:** ![westernira](https://avatars.discourse-cdn.com/v4/letter/w/439d5e/32.png) [@westernira](https://discourse.processing.org/u/westernira)\
**Post date:** [March 7, 2020, 8:44am UTC](https://discourse.processing.org/t/processing-listening-to-wrong-ip-address-when-receiving-udp-message/8175/3 "2020-03-07T08:44:36Z")

</div>

I think the ip address is taken by default… you must check it again and remove the ip address 192.168.56.1 from by default. May be this is the only problem
