# How to dynamically provide port name in serialrequest node

**URL:** <https://discourse.nodered.org/t/how-to-dynamically-provide-port-name-in-serialrequest-node/34338>\
**Category:** General\
**Created:** [16 October 2020 08:45 UTC](https://discourse.nodered.org/t/how-to-dynamically-provide-port-name-in-serialrequest-node/34338 "2020-10-16T08:45:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swetha25](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@swetha25](https://discourse.nodered.org/u/swetha25)\
**Post date:** [16 October 2020 08:45 UTC](https://discourse.nodered.org/t/how-to-dynamically-provide-port-name-in-serialrequest-node/34338/1 "2020-10-16T08:45:53Z")

</div>

I'm trying to dynamically enter com details for a serial port. While msg.baudrate is working while injected. Msg.port cannot be injected into the node. Serial port details if not explicitly mentioned in the serial request node when deployed is showing type error. Is my approach correct or is it not possible to implement dynamic msg.port config

---

<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:** [16 October 2020 09:30 UTC](https://discourse.nodered.org/t/how-to-dynamically-provide-port-name-in-serialrequest-node/34338/2 "2020-10-16T09:30:11Z")

</div>

Hi - you are correct - It is currently not possible to change the port dynamically.

---

<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:** [15 December 2020 09:30 UTC](https://discourse.nodered.org/t/how-to-dynamically-provide-port-name-in-serialrequest-node/34338/3 "2020-12-15T09:30:14Z")

</div>

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