# Need to setup Influxdb node

**URL:** <https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074>\
**Category:** General\
**Created:** [2 May 2022 15:22 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074 "2022-05-02T15:22:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeetaJ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/neetaj/32/60934_2.png) [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Post date:** [2 May 2022 15:22 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/1 "2022-05-02T15:22:21Z")

</div>

Hi,

I am new to influx and nodered.  
I have a requirement where i need to read the data from sensors and get a visualization of temperature, humidity, air quality.

We have node red and influx 2.1.1 on a windows server machine.  
We are using node red for accessing the data, so i installed the node-red-contrib-influxdb node from Manage Palatte in nodered, and created this flow but it gives error  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/631ca9623fc28cdd5ee977a2b679f99e765d5427.png)  
Gives me error when i inject "Error: connect ECONNREFUSED 127.0.0.1:8086"

Can anybody help me in setting up the node with details  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/b/3b287dc9da8f4ec876aa1719de78495ca6d0ef06.png)

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [2 May 2022 17:05 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/2 "2022-05-02T17:05:28Z")

</div>

Welcome to the forum!

You need to create a token in InfluxDB and enter it into the token field.

 ![Screenshot-15](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/e/ce69cb03534fd98565fe745e706dadcecf1aa28b.png)

---

<div class="post-metadata">

**Author:** ![NeetaJ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/neetaj/32/60934_2.png) [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Post date:** [2 May 2022 21:14 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/3 "2022-05-02T21:14:07Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/e/fe002559972b8bd684ea2c1bc5a8e2a804b68a6f.png)  
I have provided it. but still i face issue. Node red is in kubernetes and influx is just on the vm

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [2 May 2022 21:28 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/4 "2022-05-02T21:28:49Z")

</div>

> [@NeetaJ](#):
>
> Node red is in kubernetes and influx is just on the vm

Sorry, can't help you with that!

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [3 May 2022 04:09 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/5 "2022-05-03T04:09:35Z")

</div>

> Node red is in kubernetes and influx is just on the vm

Use `http://<ip of the vm>:8006` instead of localhost.

---

<div class="post-metadata">

**Author:** ![NeetaJ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/neetaj/32/60934_2.png) [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Post date:** [3 May 2022 06:50 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/6 "2022-05-03T06:50:58Z")

</div>

When i provide the ip of vm, it gives me different error HttpError: 404 Not Found : {"error":"database not found: "Data""}.

I have Data bucket created in influx db

---

<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:** [2 July 2022 06:51 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074/7 "2022-07-02T06:51:29Z")

</div>

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