# Settings.js Termux in android

**URL:** <https://discourse.nodered.org/t/settings-js-termux-in-android/8165>\
**Category:** General\
**Created:** [19 February 2019 21:48 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165 "2019-02-19T21:48:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![manueldiasmanuel](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@manueldiasmanuel](https://discourse.nodered.org/u/manueldiasmanuel)\
**Post date:** [19 February 2019 21:48 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/1 "2019-02-19T21:48:50Z")

</div>

Hi,

I am using a script to start up node-red when the android systems boots up.

I am trying to change the setting.js file but a don´t what is the path for the the right one.

How to change the node-red setting.js files ? Where is the setting.js file path that node-red is " reading " when it starts up by script ?

I remote access Termux by FTP server with this command $ tcpsvd -vE 0.0.0.0 1024 ftpd -w /.

I´ve found one node-red setting.js , i´ve change the settings i wanted for authentication but  
nothing happen when i start node-red session ? Any ideas ?

---

<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:** [19 February 2019 21:52 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/2 "2019-02-19T21:52:24Z")

</div>

no idea ... you're blazing new ground here !  
The settings.js should be in the users directory and is listed in the console when node-red starts, so hopefully that will tell you the correct one.

---

<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:** [19 February 2019 22:09 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/3 "2019-02-19T22:09:32Z")

</div>

For me it is in `/data/data/com.termux/files/home/.node-red`. As Dave said, it tells you where it is when you start node-red.

---

<div class="post-metadata">

**Author:** ![manueldiasmanuel](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@manueldiasmanuel](https://discourse.nodered.org/u/manueldiasmanuel)\
**Post date:** [20 February 2019 18:09 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/4 "2019-02-20T18:09:09Z")

</div>

Hi,

The settings.js is in the place you described. The things are running now , settings.js were edited and the script file running at boot is starting up node-red in my android device.

Thank you for your help ,

MD

---

<div class="post-metadata">

**Author:** ![PiMo131](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pimo131/32/34978_2.png) [@PiMo131](https://discourse.nodered.org/u/PiMo131)\
**Post date:** [6 December 2022 21:12 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/5 "2022-12-06T21:12:08Z")

</div>

Did you root your device to access this data?

Update: file can be changed through termux command line with nano

$ nano .node-red/settings.js

---

<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:** [6 December 2022 21:47 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/6 "2022-12-06T21:47:06Z")

</div>

My comment was four years ago, my memory is not that good. I don't believe so though. If you have further questions please start a new thread and someone with recent knowledge may be able to help you. I will close this thread now.

---

<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:** [6 December 2022 21:47 UTC](https://discourse.nodered.org/t/settings-js-termux-in-android/8165/7 "2022-12-06T21:47:24Z")

</div>


