conduktor / kafka-stack-docker-compose

docker compose files to create a fully working kafka stack
Apache License 2.0
3.24k stars 1.25k forks source link

Not able to connect from remote computer. #117

Closed edgarjoao closed 5 months ago

edgarjoao commented 1 year ago

Hi there, I do have two computer one of them is running docker with zk-single-kafka-single.yml version.

Using https://www.kafkatool.com/ I'm trying to connect from my other computer.

image

I was able to connect in the computer where docker is running but not the external one.

I was able to ping and telnet to zookeeper port and bootstrap port.

Any suggestion here?

Thanks

OneCricketeer commented 1 year ago

Ping and telnet don't accurately test Kafka protocol. It's good the ports are open, but you need to modify the file to use different values, such as your computer's LAN ip - https://www.confluent.io/blog/kafka-listeners-explained/