I have setup a Kafka in Debian it just works fine but when I want to reach it from outside via ip:9290 I won’t work. What can I do to fix it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
I believe that Kafka might be listening on
127.0.0.1:9290
, you can check that with the following command:If this is the case, I believe that you need to by set the
advertised.host.name
inserver.properties
and themetadata.broker.list
in theproducer.properties
to public IP address andhost.name
to0.0.0.0
.Let me know how it goes. Regards, Bobby