<div dir="ltr">If I<span style="font-family:arial,sans-serif;font-size:13.333333969116211px"> leave MQ configured with </span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"></span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><tt>RABBITMQ_NODE_IP_ADDRESS=0.0.0.0</tt>, and I try to connect to the *public* IP address, it seems that the request reaches the MQ but the connection is terminated by unknown reason. I get this error from the MQ log:</span><div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><div>=ERROR REPORT==== 25-Jul-2013::14:02:34 ===</div><div>closing AMQP connection <0.459.0> ("client IP":42364 -> "private EC2 DNS":5672):</div>
<div>{handshake_timeout,handshake}</div><div><br></div><div style>1 - Why the client reached the MQ? The public DNS is translated autormatically to the private DNS in Amazon EC2?</div><div style>2 - How can I get more information in the logs to understand why the connection is terminated?</div>
<div style><br></div><div><br></div></font><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 July 2013 12:46, Ceri Storey <span dir="ltr"><<a href="mailto:ceri@lshift.net" target="_blank">ceri@lshift.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="im">
<div>(25/07/13 12:12), Pedro Sá da Costa
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">If I set the <span style="font-family:arial,sans-serif;font-size:13.333333969116211px">RABBITMQ_NODE_IP_ADDRESS
to 0.0.0.0, or I don't set the </span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">RABBITMQ_NODE_IP_ADDRESS,
the message broker starts with the internal IP. This means
that I cannot access it outside from the internet. If I put
the public IP, the error continues. How I can set rabbitMQ to
access is it from the internet?</span></div>
</blockquote></div>
What happens if you leave it configured with <span style="font-family:arial,sans-serif;font-size:13.333333969116211px"></span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><tt>RABBITMQ_NODE_IP_ADDRESS=0.0.0.0</tt>,
but try to connect to the *public* IP address?<br>
</span><div class="im">
<blockquote type="cite">
<div dir="ltr">
<div>
<font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif"><br>
</font>
<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>
</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>
</span></div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 23 July 2013 12:15, Michael Klishin
<span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@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 dir="ltr">
<div class="gmail_extra">
<div>2013/7/23 Pedro Sá da Costa <span dir="ltr"><<a href="mailto:psdc1978@gmail.com" target="_blank">psdc1978@gmail.com</a>></span><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>Error description:</div>
<div>
{could_not_start_tcp_listener,{"XX.235.XXX.XXX",5672}}</div>
</blockquote>
</div>
<br>
</div>
Try using 0.0.0.0 for <span style="font-family:arial,sans-serif;font-size:13px">RABBITMQ_NODE_IP_ADDRESS.
This will relieve you</span></div>
<div class="gmail_extra"><font face="arial, sans-serif">from
having to worry about the exact IP value of the
interface</font>.<span><font color="#888888"><font face="arial, sans-serif"><br>
</font>-- <br>
MK<br>
<br>
<a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</font></span></div>
</div>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Best regards,<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
rabbitmq-discuss mailing list
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</blockquote>
<br>
</div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>
</div>