short host names

Vance Shipley vances@REDACTED
Wed Sep 29 23:57:27 CEST 1999


All,

I don't seem to be able to communicate between two
nodes on a machine when using short node names.  It
works fine when I use long node names 
(e.g. erl -name foo).

I start up a node on one terminal:

	$ erl -sname foo
	Erlang (BEAM) emulator version 47.4.1
 
	Eshell V47.4.1  (abort with ^G)
	(foo@REDACTED)1> 

Then start another on another terminal:

	$ erl -sname bar
	Erlang (BEAM) emulator version 47.4.1
 
	Eshell V47.4.1  (abort with ^G)
	(bar@REDACTED)1> 

Now I try to ping:

	foo@REDACTED)1> net_adm:ping(bar@REDACTED).
	pang

Names doesn't work either:

	(bar@REDACTED)2> net_adm:names().
	{ok,[]}

I ran epmd with debugging turned on an it looks like epmd
is getting the requests and responding properly.

This is all under my port to Unixware 2.1.3 so it could
well be my port is incomplete but I don't know what to look 
for at this point.

	-Vance




More information about the erlang-questions mailing list