Our kafka setup currently comprises of the ZooKeeper, Brokers installed on a Windows Host environment (non dockerized). The Kafka client will be deployed to a linux container.
We are currently unable to connect to the Kafka brokers on the Host PC from the Kafka Client in the container, we encounter the below error
IPv4 127.0.0.1:9092
connection refused
We have tried configuring host.docker.internal
to the Kafka client setup configuration, but the error still persists.
Can anyone please suggest a solution for this.