[Solved]Connection to 8086 from a different IP address fails

influxdb
telegraf
#1

Hi guys,

When I try to retreive db info locally using:
curl -G http://localhost:8086/query -u :*** --data-urlencode “q=SHOW DATABASES”
I do get a list of the db info, but when I try it from a different ip (10.1.20.150 it should run telegraf one day) address from same subnet I get:
curl(7) Failed to connect to 10.1.20.151 port 8086: Timed out

I do have network connectivity. I did disable the firewall (the machine that I’m testing from is Windows Server 2016).
The machine where influxdb is installed is CentOS. nmap 10.1.20.151 shows port 8086/tcp open d-s-n.
Any suggestion what I’m missing or I did wrong?

Thank you in advance!

#2

Nevermind… It was blocked by the linux firewall…

1 Like