<div dir="ltr"><div>This is most probably not a problem with Erlang but missing configuration settings in Docker. Have you published or exposed the ports outside of the Docker container [1]? Are you starting the containers individually or are you using <span style="font-family:courier new,monospace">docker-compose</span> or something like that?</div><div><br></div><div>I would recommend reading up on the different options that Docker provides for networking. If you send some sample <span style="font-family:courier new,monospace">Dockerfile</span> or <span style="font-family:courier new,monospace">docker-compose.yml</span> file with the arguments you're using to start the nodes, we could provide better feedback.<br></div><div><br></div><div>[1] <a href="https://docs.docker.com/config/containers/container-networking/">https://docs.docker.com/config/containers/container-networking/</a></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 5, 2019 at 9:11 AM Roger Lipscombe <<a href="mailto:roger@differentpla.net">roger@differentpla.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've got an Erlang node running in docker[1]. How do I connect to it<br>
from the host?<br>
<br>
I've tried every combination of -name, -sname, etc., that I can think<br>
of, and all I'm getting is 'pang'.<br>
<br>
I can telnet to the distribution port on the container; if I use<br>
erl_epmd:names/1, passing the DNS name of the docker container, it<br>
returns the expected Erlang nodes.<br>
<br>
But I can't get Erlang distribution to connect from the host to the<br>
node in the docker container.<br>
<br>
Interestingly, if I connect from the node inside docker to a node on<br>
the host, it all starts working. But that's not useful for what I'm<br>
trying to do.<br>
<br>
[1] actually several Erlang nodes in several docker containers.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>