# Interaction between node-red and nodejs app

**URL:** <https://discourse.nodered.org/t/interaction-between-node-red-and-nodejs-app/11656>\
**Category:** General\
**Created:** [29 May 2019 08:45 UTC](https://discourse.nodered.org/t/interaction-between-node-red-and-nodejs-app/11656 "2019-05-29T08:45:40Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 May 2019 08:28 UTC](https://discourse.nodered.org/t/interaction-between-node-red-and-nodejs-app/11656/21 "2019-05-31T08:28:56Z")

</div>

> [@TotallyInformation](#):
>
> Shouldn't be a need to specify a port.

Agreed, though normally I would include the port, but that is just a personal preference. You probably do need the `mqtt:` as in @TotallyInformation's link, which I did not mention.

[Previous page](https://discourse.nodered.org/t/interaction-between-node-red-and-nodejs-app/11656.md?page=1)
