[erlang-questions] receiving pang from net_adm:ping/1 even though net_adm:names/0 shows the other node

Per Melin <>
Sun Apr 19 20:03:16 CEST 2009

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 


$ erl -name 

()1> net_adm:ping('').
()2> nodes().

Note that you need the single tick quotes around the nodename here to
make it a parsable atom.

More information about the erlang-questions mailing list