I have installed kafka_2.11-1.1.0
and set advertised listener to advertised.listeners=PLAINTEXT://<my-ip>:9092
(in $KAFKA_HOME/config/server.properties
).
I can connect and write to my kafka using java code and see my cluster via kafka-tool
from another server but I can't write messages to my topic from my local machine (the one that I have installed kafka cluster on it).
I have also tried to set listeners value to listeners = PLAINTEXT://:9092
but there is no change. What should I do to my kafka to make it reachable and writable from both outside and inside of the localhost?