Perhaps this will help:
https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-Whycan'tmyconsumers/producersconnecttothebrokers?

On Thu, Apr 23, 2015 at 3:24 PM, madhavan kumar
<madhavan020...@gmail.com> wrote:
> Dear all,
>     I am trying to connect my python consumer to a remote kafka server. But
> in kafka/conn.py#reinit, the socket call socket.create_connection throws
> "connection refused" error.
> to confirm, it is not a firewall issue, i tried connecting to other servers
> (in the same machine as kafka server) from my local m/c and the socket
> connection works. connection refused happens, only for kafka server.
> i am running kafka-0.8.2 and in which log file, can i see the stacktraces
> (or) more useful information for errors related to connection requests?
>
> thanks,
> saravana

Reply via email to