tobiasschuerg / InfluxDB-Client-for-Arduino

Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection refused to InfluxDB

thewackyseal opened this issue · comments

Hi, I'm unable to connect to InfluxDB from my esp32 board and not sure what to do as I am new to this. Please advise, thank you.

This is the error log:
image

@thewackyseal, thanks for the log. The log shows that you have set the host as localhost. Localhost means the same device. You need to provide the name or IP of the computer running the InfluxDB server, or the URL for InfluxDB Cloud if it is the case.

Thank you, it connects now, however I'm facing this new issue:

image

What is the issue with your app? Did the client report an error? The above log message doesn't mean there is sth wrong.

I managed to get it working, thank you for the help!