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 "pang"<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"><<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>></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 <<a href="mailto:news.anand11@gmail.com">news.anand11@gmail.com</a>> wrote:<br>
> I have opened all the prot required for rabbitmq clustering i.e. 5672,4369.<br>
> 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>
> net_adm:ping(nodename@host).<br>
<br>
It should print 'pong', 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>
> On Fri, Aug 5, 2011 at 7:59 PM, Marek Majkowski <<a href="mailto:majek04@gmail.com">majek04@gmail.com</a>> wrote:<br>
>><br>
>> On Fri, Aug 5, 2011 at 11:11, News Aanad <<a href="mailto:news.anand11@gmail.com">news.anand11@gmail.com</a>> wrote:<br>
>> > I want to create a cluster of RabbitMQ on EC2. I have created an AMI of<br>
>> > Ubantu and install the rabbitmq-server-2.3.1 on it. I have also<br>
>> > installed<br>
>> > the management plugins for GUI. For cluster purpose I have also copied<br>
>> > the<br>
>> > .erlang.cookie file in another node. My ploblem is when I am trying to<br>
>> > connect with another node it gives me following error:<br>
>> ><br>
>> > Error: {failed_to_cluster_with,['rabbit@ip-10-58-54-170'], "Mnesia could<br>
>> > not<br>
>> > connect to some nodes."}<br>
>> ><br>
>> > Anybody has any idea why it is happening?<br>
>><br>
>> Isn't that a firewall issue?<br>
>><br>
>> Cheers,<br>
>> Marek<br>
><br>
><br>
</div></div></blockquote></div><br>