# Accessing the runtime settings from a function node

**URL:** <https://discourse.nodered.org/t/accessing-the-runtime-settings-from-a-function-node/57242>\
**Category:** General\
**Created:** [26 January 2022 08:14 UTC](https://discourse.nodered.org/t/accessing-the-runtime-settings-from-a-function-node/57242 "2022-01-26T08:14:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![davec1001](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@davec1001](https://discourse.nodered.org/u/davec1001)\
**Post date:** [26 January 2022 10:46 UTC](https://discourse.nodered.org/t/accessing-the-runtime-settings-from-a-function-node/57242/5 "2022-01-26T10:46:00Z")

</div>

Aha thanks......I just noticed this in another thread

> [@Port number of running node-red instance](https://discourse.nodered.org/t/port-number-of-running-node-red-instance/20166/12):
>
> In a node you should be able to access RED.settings.port.

Should This work? ie in a function node, access RED.settings?

---

_[View the full topic](https://discourse.nodered.org/t/accessing-the-runtime-settings-from-a-function-node/57242)._
