<p dir="ltr"><br>
On Mar 18, 2016 10:46 PM, "Khitai Pang" <<a href="mailto:khitai.pang@outlook.com">khitai.pang@outlook.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I have been using the esl-erlang pacakge from <a href="https://packages.erlang-solutions.com/erlang/">https://packages.erlang-solutions.com/erlang/</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>
<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 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 href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</p>