title: Why I cannot connect to Kafka from outside?
body: <p>I am running kafka on ec2 instance. So amazon ec2 instance has two ips one is internal ip and second one is for external use. </p>
  
  <p>I created producer from local machine, but it redirect to internal ip and give me connection unsuccessful error. Can anybody help me to configure kafka on ec2 instance, so that I can run producer from local machine. I am tried many combinations but didn't work.  </p>