Thanks for reply Marek Majkowski,<br>��� I have tried with that by setting up the port in erlang with command<br><pre>        application:set_env(kernel, inet_dist_listen_min, 9100).
        application:set_env(kernel, inet_dist_listen_max, 9105).</pre>and I have also open the port 9100-9105 and also open the port 4369.<br>But when I am checking� connectivity� by command net_adm:ping(nodename@host).� it gives me repies me as &quot;pang&quot;<br>
Now I am confused that what should be the problem.<br>Is it mendatory to set it over both the EC2 Instance? <br><br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 3:34 PM, Marek Majkowski <span dir="ltr">&lt;<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Aug 6, 2011 at 06:40, News Aanad &lt;<a href="mailto:news.anand11@gmail.com">news.anand11@gmail.com</a>&gt; wrote:<br>

&gt; I have opened all the prot required for rabbitmq clustering i.e. 5672,4369.<br>
&gt; I can also ping the host name of other AMI.<br>
<br>
</div>And what about erlang vm port controlled via inet_dist_listen_min and<br>
inet_dist_listen_max?<br>
<a href="http://www.erlang.org/faq/how_do_i.html#id55256" target="_blank">http://www.erlang.org/faq/how_do_i.html#id55256</a><br>
<br>
To check if the connectivity is all right, open an erlang interpreter, type<br>
&gt; net_adm:ping(nodename@host).<br>
<br>
It should print &#39;pong&#39;, see the erlang docs:<br>
<a href="http://www.erlang.org/doc/man/net_adm.html#ping-1" target="_blank">http://www.erlang.org/doc/man/net_adm.html#ping-1</a><br>
<br>
Cheers,<br>
<font color="#888888"> � Marek<br>
</font><div><div></div><div class="h5"><br>
&gt; On Fri, Aug 5, 2011 at 7:59 PM, Marek Majkowski &lt;<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Aug 5, 2011 at 11:11, News Aanad &lt;<a href="mailto:news.anand11@gmail.com">news.anand11@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; I want to create a cluster of RabbitMQ on EC2. I have created an AMI of<br>
&gt;&gt; &gt; Ubantu and install the rabbitmq-server-2.3.1 on it. I have also<br>
&gt;&gt; &gt; installed<br>
&gt;&gt; &gt; the management plugins for GUI. For cluster purpose I have also copied<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; .erlang.cookie file in another node. My ploblem is when I am trying to<br>
&gt;&gt; &gt; connect with another node it gives me following error:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Error: {failed_to_cluster_with,[&#39;rabbit@ip-10-58-54-170&#39;], &quot;Mnesia could<br>
&gt;&gt; &gt; not<br>
&gt;&gt; &gt; connect to some nodes.&quot;}<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Anybody has any idea why it is happening?<br>
&gt;&gt;<br>
&gt;&gt; Isn&#39;t that a firewall issue?<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; � Marek<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>