<div dir="ltr">Oh my. As usual, the problem had to be that trivial, eh. Thank you (and everyone else who responded).<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 1, 2017 at 6:03 AM, bengt e <span dir="ltr"><<a href="mailto:cean.ebengt@gmail.com" target="_blank">cean.ebengt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings,<div><br></div><div>Is there a typo in the command 'erl -name little setcookie abc):' ? I that setcookie is a flag, ie -setcookie.</div><div><br></div><div>Also, after starting distributed Erlang you have epmd up and running. You can ask for other nodes 'epmd -names'</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>bengt</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Oct 1, 2017 at 5:22 AM, Alexandre Karpov <span dir="ltr"><<a href="mailto:alexakarpov@gmail.com" target="_blank">alexakarpov@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<br><br>(Forgive me if this mailing list is not a best place for newbie question (y'all seem to be way above that level, based on what I've seen in the last couple days).<br><br>Working through Joe's book, I've got to the exciting bits in "Distributed Programming" (chapter 14), which has examples for setting up rpc calls between nodes on the same machine (trivial) and different machines (not as trivial). I've got two boxes up for this exercise, got Erlang installed, and set up my DNS - I can ping both. But one of them acts like an "inactive node", so I don't think my setup is ready for playing:<br><br>Node 1 (started with: <b>erl -name little setcookie abc):</b><br><br>(<a href="mailto:little@little.alexakarpov.xyz" target="_blank">little@little.alexakarpov.xyz</a><wbr>)1> node().<br><br>'<a href="mailto:little@little.alexakarpov.xyz" target="_blank">little@little.alexakarpov.xyz</a><wbr>'<br><br>Node 2 (started with <b>erl -name yyz setcookie abc):</b><br><br>1> node().<br><br>nonode@nohost<br><br>Um... what did I do wrong? running 'hostname' gives expected results: <a href="http://yyz.alexakarpov.xyz" target="_blank">yyz.alexakarpov.xyz</a> and <a href="http://little.alexakarpov.xyz" target="_blank">little.alexakarpov.xyz</a> respectively, and they're started the same way... both are running same Erlang versions, of course.<div><br></div><div>Thank you for your time!</div><div>Alex</div></div>
<br></div></div><span class="">______________________________<wbr>_________________<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/list<wbr>info/erlang-questions</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div></div>