Cannot get data back to kapacitor task when working with influxdb docker server



my setup has 2 servers, one centos server with firewall disabled hosting an influx-db server in a docker container with latest version, second server is a centos7 too, with kapacitor installed on it (latest version),
i have a very basic tick task enabled on the kapacitor side.
i can see that the db is getting the request , but when trying to sent the response i can see a message : “no route to host”.

i changed the host name in the kapacitor.conf to the machine IP address, which is pingable by the influx server.
what else am i forgetting here ?



solved !
started working, don’t know how