<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2016/3/19 19:45, Michael Santos wrote:<br>
<blockquote
cite="mid:CAEep09JqdCZj+mV6C4dpu+gYD5ShqsEJydPxbKcQsXX5mF+QbA@mail.gmail.com"
type="cite">
<p dir="ltr">On Mar 18, 2016 10:46 PM, "Khitai Pang" <<a
moz-do-not-send="true" href="mailto:khitai.pang@outlook.com"><a class="moz-txt-link-abbreviated" href="mailto:khitai.pang@outlook.com">khitai.pang@outlook.com</a></a>>
wrote:<br>
><br>
> Hi,<br>
><br>
> I have been using the esl-erlang pacakge from <a
moz-do-not-send="true"
href="https://packages.erlang-solutions.com/erlang/"><a class="moz-txt-link-freetext" href="https://packages.erlang-solutions.com/erlang/">https://packages.erlang-solutions.com/erlang/</a></a>
Ubuntu PPA for Trusty.<br>
><br>
> I have these in my bashrc:<br>
><br>
> export ERL_EPMD_ADDRESS="XXX.XXX.XXX.XXX" (LAN IP of my
VM in the cloud)<br>
> export ERL_EPMD_PORT="5678"</p>
<p dir="ltr">Just tested and it worked for me.</p>
<p dir="ltr">Does the IP address in ERL_EPMD_ADDRESS exist in the
VM?</p>
</blockquote>
<br>
Yes it does, it's the IP of the LAN in the clound, and it all works
fine with 18.2.<br>
<br>
I believe it's possible that the issue is caused by the
configuration in the operating system (Ubuntu 14.04.4 x86_64) but
currently I have no idea how to further debug this issue.<br>
<br>
With esl-erlang 18.2 and the following configs in bashrc:<br>
<br>
export ERL_EPMD_ADDRESS="XXX.XXX.XXX.XXX"<br>
export ERL_EPMD_PORT="5678"<br>
<br>
epmd works fine:<br>
<br>
tcp 0 0 127.0.0.1:5678 0.0.0.0:*
LISTEN 6754/epmd<br>
tcp 0 0 10.131.70.80:5678 0.0.0.0:*
LISTEN 6754/epmd<br>
<br>
<br>
Thanks<br>
Khitai<br>
<br>
<blockquote
cite="mid:CAEep09JqdCZj+mV6C4dpu+gYD5ShqsEJydPxbKcQsXX5mF+QbA@mail.gmail.com"
type="cite">
<p dir="ltr">><br>
> Everything worked fine with the 18.2 package. After
upgrading to esl-erlang 18.3, epmd stopped to work:<br>
><br>
> > epmd -debug<br>
> epmd: Sat Mar 19 16:16:51 2016: epmd running - daemon = 0<br>
> epmd: Sat Mar 19 16:16:51 2016: failed to bind socket:
Cannot assign requested address<br>
><br>
> There is a workaround: if I remove the ERL_EPMD_ADDRESS
environment variable, epms works:<br>
><br>
> tcp 0 0 <a moz-do-not-send="true"
href="http://0.0.0.0:5678">0.0.0.0:5678</a> 0.0.0.0:*
LISTEN 3328/epmd<br>
> tcp6 0 0 :::5678 :::* LISTEN
3328/epmd<br>
><br>
> After downgrading esl-erlang from 18.3 to 18.2, the issue
is gone.<br>
><br>
><br>
> Thanks<br>
> Khitai<br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</p>
</blockquote>
<br>
</body>
</html>