ejabberd - Comments for "Cannot connect to the my ejabberd server. Connection Timeout" https://www.ejabberd.im/node/4158 en Figured it out https://www.ejabberd.im/node/4158#comment-56425 <p>Its actually an EC2 security groups issue. You need to ensure if the instance security groups has the port 5222 open. If your working with Server-2-Server then you should have 5269 open too.</p> <p>The way to get that done on elastic fox is click on the security groups click on the group permissions, grant permission button (green tick button) and add the port. For host add 0.0.0.0/0 to allow all.</p> <p>And thats it. Hope this is useful to someone.</p> Thu, 15 Jul 2010 19:25:16 +0000 sid__ comment 56425 at https://www.ejabberd.im