Connection attempt from disallowed node

Chandrashekhar Mullaparthi <>
Tue Aug 7 11:00:13 CEST 2001


Start both nodes with the same cookie. You can set the cookie explicitly as 

erl -sname server -setcookie chat_cookie
erl -sname client -setcookie chat_cookie

If not explicitly set, the shell searches for a cookie file .erlang.cookie
in the current directory and then your home directory. If none is
specified/exists it creates a file .erlang.cookie with some value in it.

hth
Chandru

> -----Original Message-----
> From: Martin Nilsson [mailto:]
> Sent: 7 August 2001 09:42
> To: 
> Subject: Connection attempt from disallowed node 
> 
> 
> Hello
> 
> I'm trying to do a simple chat application with a server and a chat
> client. The server and client are run on separate nodes and,
> preferrably, on different hosts. The client can connect to 
> the server if
> it is run on the same host (but different node) as the server but if I
> try to connect the client from a different host I get the following
> error message:
> 
> =ERROR REPORT==== 7-Aug-2001::10:29:39 ===
> ** Connection attempt from disallowed node ''
> 
> Is there some way to make the node "allowed"?
> 



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list