Can you telnet to that broker ipaddress and port from the producer host? Seems like a network connection issue.
Thanks, Jun On Tue, Feb 11, 2014 at 1:56 AM, Harshal Bhutkar < harshal_bhut...@persistent.co.in> wrote: > I am running zookeeper and 2 brokers(port 9093 and 9094) on remote > machine. I am able create topic using 'kafka-create-topic.sh' > I am also to get topic list using 'kafka-list-topic.sh' > But whenever I try to produce msg it gives me following error > ERROR Producer connection to ipaddres:9093 unsuccessful > (kafka.producer.SyncProducer) > java.net.ConnectException: Connection refused > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is > the property of Persistent Systems Ltd. It is intended only for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient, you are not authorized to read, retain, copy, print, > distribute or use this message. If you have received this communication in > error, please notify the sender and delete all copies of this message. > Persistent Systems Ltd. does not accept any liability for virus infected > mails. > >