<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢���ź�
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Hi all,<br><br>Yes, I guess the problem is caused by erlang. It does not support multi interface?<br><br>I hacked epmd with following codes:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s-&gt;local_peer =<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (((((unsigned) ntohl(si.sin_addr.s_addr)) &amp; 0xFF000000U) == 0x7F000000U) ||<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (getsockname(s-&gt;fd,(struct sockaddr*) &amp;di,&amp;st) ? EPMD_FALSE : (<font style="" color="#FF0000">((((unsigned) ntohl(di.sin_addr.s_addr)) &amp; 0xFF000000U) == 0x7F000000U) ||</font> si.sin_addr.s_addr == di.sin_addr.s_addr)));<br><br>But I am not sure it's secure.<br><br><br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: tim@rabbitmq.com<br>Date: Fri, 13 Jul 2012 09:46:18 +0100<br>To: rabbitmq-discuss@lists.rabbitmq.com<br>Subject: Re: [rabbitmq-discuss] Plz give me help about
  EPMD: Non-local peer        connected<br><br><div><div>On 13 Jul 2012, at 08:17, �α� wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><div class="ecxhmmessage" style="font-size:10pt;font-family:\005fae\008f6f\0096c5\009ed1"><div dir="ltr">Sorry, I tried I tried "erl -sname rabbit" with a hacked version.<br>With the official release version of epmd, I got error.<br><br></div></div></span></blockquote><div><br></div><div>You should really take this issue to the erlang-questions mailing list, as it is not rabbit specific and sounds like something that ought to be documented for CentOS users in general.&nbsp;My own networking configuration on CentOS did n
 ot work OOTB and I had to add the (single) hostname entry on a separate line to the localhost.localdomain setup, as well as editing the sysconfig/net* entry, before I got distributed Erlang nodes to start up.&nbsp;</div></div><br>_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</div>                                               </div></body>
</html>