# OSC error / UDP error

**URL:** <https://discourse.nodered.org/t/osc-error-udp-error/10571>\
**Category:** General\
**Created:** [26 April 2019 10:48 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571 "2019-04-26T10:48:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [26 April 2019 10:48 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571/1 "2019-04-26T10:48:16Z")

</div>

When NR is running for a while and i try to send an osc message thru UDP i get the error below  
"Error [ERR\_SOCKET\_DGRAM\_NOT\_RUNNING]: Not running"

What does that mean and how can i solve this without rebooting the pi?

Thanks!

---

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [26 April 2019 10:50 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571/2 "2019-04-26T10:50:06Z")

</div>

Could this be the cause?

26 Apr 10:49:08 - [info] [udp out:123862c9.55b5b5] udp ready: 172.16.2.151:9001  
26 Apr 10:49:08 - [info] [udp out:f4c38ba.88a97f8] udp re-use socket: -\> 172.16.2.152:9001  
26 Apr 10:49:08 - [info] [udp out:60b43cef.d29584] udp re-use socket: -\> 172.16.2.153:9001  
26 Apr 10:49:08 - [info] [udp out:5a5df35d.b653bc] udp re-use socket: -\> 172.16.2.154:9001

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [26 April 2019 11:13 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571/3 "2019-04-26T11:13:53Z")

</div>

could be - do you really need multiple nodes trying to re-use the same port ? can't you wire things to one ?

---

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [26 April 2019 11:41 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571/4 "2019-04-26T11:41:18Z")

</div>

Mmm good question, i need to find out if it is possible in other way.  
I need to control 4 different pi's

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [26 April 2019 12:14 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571/5 "2019-04-26T12:14:28Z")

</div>

sorry - my mistake - different IPs should be fine ...

---

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [26 April 2019 12:26 UTC](https://discourse.nodered.org/t/osc-error-udp-error/10571/6 "2019-04-26T12:26:15Z")

</div>

so what would be the cause then?  
i changed it now to 9001 for 151, 9002 for 152 and so on.  
Lets see if that works or could there be another problem / solution?
