Distributed Erlang with only IP-address?

Raimo Niskanen raimo@REDACTED
Mon Aug 19 07:53:32 CEST 2002


I think it will work just by giving the nodename explicitly when you
start the node, 
	-sname foo@REDACTED
and then try
	net_adm:ping('foo@REDACTED')
	rpc:call('foo@REDACTED', M, F, A)
note the single quotes.

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Hans Nilsson wrote:
> 
> Hi,
> 
> is there any way to use distributed Erlang on hosts which does not have
> hostnames?  It is not possible to have a DNS and not even a /etc/hosts
> file :-(
> 
> I need to do things like
> 
>         net_adm:ping(foo@REDACTED)
>         rpc:call(foo@REDACTED, M, F, A)
>         :
>         :
> 
> /Hans Nilsson
>



More information about the erlang-questions mailing list