Hi,<br><br><div class="gmail_quote">On Sat, Jun 18, 2011 at 09:55, Icarus Alive <span dir="ltr"><<a href="mailto:icarus.alive@gmail.com" target="_blank">icarus.alive@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



What I would like to do is to set up communication between these 2 instances --<br>
<br>
C:> erl -name <a href="mailto:abc@FELIX.somedomainsomewhere.com" target="_blank">abc@FELIX.somedomainsomewhere.com</a> -setcookie erlide<br>
C:> erl -name <a href="mailto:xyz@FELIX.somedomainsomewhere.com" target="_blank">xyz@FELIX.somedomainsomewhere.com</a> -setcookie erlide<br>
<br>
however, when I try --<br>
<br>
(<a href="mailto:abc@FELIX.somedomainsomewhere.com" target="_blank">abc@FELIX.somedomainsomewhere.com</a>)6><br>
net_adm:ping('<a href="mailto:xyz@FELIX.somedomainsomewhere.com" target="_blank">xyz@FELIX.somedomainsomewhere.com</a>').<br>
pang<br>
(<a href="mailto:abc@FELIX.somedomainsomewhere.com" target="_blank">abc@FELIX.somedomainsomewhere.com</a>)7> nodes().<br>
[]<br>
<br>
I can successfully do this:-<br>
C:> ping -4 <a href="http://FELIX.somedomainsomewhere.com" target="_blank">FELIX.somedomainsomewhere.com</a><br>
C:> tracert <a href="http://FELIX.somedomainsomewhere.com" target="_blank">FELIX.somedomainsomewhere.com</a><br>
which shows that the domain-name resolves fine.<br>
<br>
Instead of "-name" if I do the same experiment with "-sname" and drop<br>
the usage of host.FQDN, the result is same, i.e. a "pang" !<br>
<br>
How do I get it to ping successfully ?</blockquote><div><br></div><div>I checked on my machine and I got the same problem between two Erlang nodes. The Java node connects fine because it doesn't care about a long name being a FQDN or not.</div>

<div><br></div><div>In my case, the problem was that I have the Home edition and I'm not connected to any domain. I fixed it by editing c:\windows\system32\drivers\etc\hosts and adding an entry like</div><div>192.168.1.2 mypc mypc.localdomain</div>

<div><br></div><div>This lets me connect Erlang nodes that use mypc.localdomain as -name.</div><div><br></div><div>My guess is that it is something similar in your case, please check this file and see what it contains. </div>



<div><br></div><div>regards,</div><div>Vlad</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote></div>