# Incoming UDP Define Port

**URL:** <https://discourse.nodered.org/t/incoming-udp-define-port/31274>\
**Category:** General\
**Created:** [7 August 2020 15:11 UTC](https://discourse.nodered.org/t/incoming-udp-define-port/31274 "2020-08-07T15:11:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikewoodld](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikewoodld/32/26822_2.png) [@mikewoodld](https://discourse.nodered.org/u/mikewoodld)\
**Post date:** [7 August 2020 15:11 UTC](https://discourse.nodered.org/t/incoming-udp-define-port/31274/1 "2020-08-07T15:11:53Z")

</div>

Am I correct in that there is no way to dynamically change the incoming UDP port using the default UDP node?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3c8c89a652dddc33078a9826f8cbfafdc6c7643f.png)

I know you can set the outgoing using `msg.ip` and `msg.port` - sucks that there seems to be no way to set the incoming.

Anyone know of any nodes that would allow me to do this?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [9 August 2020 16:16 UTC](https://discourse.nodered.org/t/incoming-udp-define-port/31274/2 "2020-08-09T16:16:33Z")

</div>

Setting up an incoming connection requires a listener to be created. So changing it without restarting node-red would be harder than setting up a new outbound connection.

You would need to check the code for the node to see whether that is already supported.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 October 2020 16:16 UTC](https://discourse.nodered.org/t/incoming-udp-define-port/31274/3 "2020-10-08T16:16:45Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
