[erlang-questions] net_adm:ping/1
Bohuslav Svancara
bsvancara@REDACTED
Mon Apr 30 16:04:15 CEST 2012
A)
erl -name n1@REDACTED -setcookie 123456
B)
erl -name n2@REDACTED -setcookie 123456
C)
(n2@REDACTED)1> net_adm:ping('n1@REDACTED').
pong
(n2@REDACTED)2> nodes().
['n1@REDACTED']
D)
(n1@REDACTED)1> nodes().
['n2@REDACTED']
No problem :-)
Sincerely,
Bob
2012/4/30 eigenfunction <emeka_1978@REDACTED>
> Hi everybody,
> i habe been trying to rpc another node on the same machine, but that
> node did not respond. I then tried this:
>
> (test2@REDACTED) > erl_epmd:names(localhost).
> {ok,[{test1,45555},{test2,49788}]}
>
> (test2@REDACTED) > net_adm:ping(test1@REDACTED).
> pang.
>
> (test2@REDACTED) > net_adm:ping(test1@REDACTED).
> pang.
>
>
> Any Idea why it is not working?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120430/51842d37/attachment.htm>
More information about the erlang-questions
mailing list