I have an INfluxDB 1.8 running on a Debian Stretch server. I run a Python program against this server (from a Windows10 machine) and read/write data from/to Influx.
For HTTP everything is fine, but as soon as I use UDP, I get “[WinError 10061] connection refused” errors.
I checked that the UDP service is running (what it does) by running netstat -lup
yielding the following (output limited to Influxd)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp ....
...
udp6 0 0 [::]:8089 [::]:* 2263/influxd
...
If I do the same for HTTP (netstat -ltp) I see the following:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:omniorb 0.0.0.0:* LISTEN 2263/influxd
tcp6 0 0 [::]:8086 [::]:* LISTEN 2263/influxd
In our organization the IP6 support is partly de-activated, so I guess this could be the reason why the UDP connection from my Windows PC does not work.
How can I configure UDP such that it listens as well to IP4:port?