[erlang-questions] receiving pang from net_adm:ping/1 even though net_adm:names/0 shows the other node
Dennis Byrne
<
>
Sun Apr 19 20:36:45 CEST 2009
Thanks Per, that gets me there.
Dennis
On Sun, Apr 19, 2009 at 1:03 PM, Per Melin <
> wrote:
> On Sun, Apr 19, 2009 at 7:52 PM, Dennis Byrne <
> wrote:
>> Is there any way to force erlang to just use an IP address rather than
>> do a DNS lookup? I always find myself wanting to do this when I debug
>> issues like this.
>
> It will use an IP if you do.
>
> $ erl -name
>
> and
>
> $ erl -name
>
> (
)1> net_adm:ping('
').
> pong
> (
)2> nodes().
> ['
']
>
> Note that you need the single tick quotes around the nodename here to
> make it a parsable atom.
>
--
Dennis Byrne
More information about the erlang-questions
mailing list