solved it by removing host.name setting in server.properties.. now
kafka is listening on all interfaces, as i expected...

thank you all

On Mon, Jul 27, 2015 at 8:03 AM, madhavan kumar
<madhavan020...@gmail.com> wrote:
> hi all,
>    On my ubuntu 14.04 machine, i have a virt-manager/libvirtd private
> network running. And that has made a virtual network interface, virbr0
> with ip 192.168.122.1.
>    in my kafka broker settings, i have set the host.name property to
> the host name of the machine.
>    When i do netstat -lntp | grep 9092, it listens for connection
> requests only on 192.168.122.1 and ignores requests with ip as
> 127.0.0.1/localhost. I can't make host.name as localhost/127.0.0.1 as
> the connection requests can come from both the local machine and the
> remote machines.
>
> So, setting host.name is not an option for me. But still how can i
> ensure kafka broker listens on the interface 0.0.0.0 and hence handle
> connections from localhost/127.0.0.1/hostname, (or) for any interface
> available on my local machine
>
>
> thanks,
> saravana

Reply via email to