[erlang-questions] setting up distribution between a local node and a firewalled node
Felix Gallo
felixgallo@REDACTED
Thu Sep 15 03:49:24 CEST 2016
If you were to believe https://gist.github.com/pnc/9e957e17d4f9c6c81294,
setting up distribution between a local node and a firewalled node would be
as simple as:
1) proxying a connection to the epmd running on the firewalled node so that
your local port 4369 connects to the firewalled node's epmd
2) running 'epmd -names' to identify the distribution port that the
firewalled node is using
3) proxying that port too
4) CHANGING YOUR HOSTNAME TO MATCH THE REMOTE NODE'S HOSTNAME (!?)
5) starting up a local node 'debug@REDACTED' with the same cookie as that
firewalled node, your local node then registering using the proxied epmd on
4369
6) running, e.g., 'net_adm:ping('target_node_name@REDACTED').
However, this doesn't seem to work, because I get pang. So many pangs.
Regardless of how I try to qualify the node name.
Some questions:
a) step 4, that's, like, not actually how it has to happen, right?
b) what am I likely to be missing?
F.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160914/0641db8d/attachment.htm>
More information about the erlang-questions
mailing list