[erlang-questions] Can't connect to Erlang node in docker
Juan Jose Comellas
Wed Jun 5 14:27:41 CEST 2019
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 ? Are you starting the containers individually or are
you using docker-compose or something like that?
I would recommend reading up on the different options that Docker provides
for networking. If you send some sample Dockerfile or docker-compose.yml
file with the arguments you're using to start the nodes, we could provide
On Wed, Jun 5, 2019 at 9:11 AM Roger Lipscombe <roger@REDACTED>
> I've got an Erlang node running in docker. How do I connect to it
> from the host?
> I've tried every combination of -name, -sname, etc., that I can think
> of, and all I'm getting is 'pang'.
> I can telnet to the distribution port on the container; if I use
> erl_epmd:names/1, passing the DNS name of the docker container, it
> returns the expected Erlang nodes.
> But I can't get Erlang distribution to connect from the host to the
> node in the docker container.
> Interestingly, if I connect from the node inside docker to a node on
> the host, it all starts working. But that's not useful for what I'm
> trying to do.
>  actually several Erlang nodes in several docker containers.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions