title: "Connection was lost error" to publish command to mosquitto broker running on ec2 instance of aws
body: <p>I created EC2 instance in aws server and status is also showing fine, in which installed mosquitto broker and also configured security group with port 1883.</p>
  
  <p>I was able to publish commands to the broker but suddenly when I try to publish commands to the broker with elastic ip address, I am getting connection was lost error from past 3 days.</p>
  
  <p>Any suggestions?</p>