Trying to get two erlang nodes talking to each other : one on a Ubuntu machine and one on Windows XP.
We're getting a "Connection attempt from disallowed node" message which prevents one node receiving messages from the other.
They're both using 5.XXX versions of Erlang OTP.
Both nodes have the same cookie ( .erlang.cookie)
We are starting the receiver node with :
erl -name fred@ipaddress
and calling the function on it with 'fred@ipaddress' (in single quotes)
We've turned firewalls off.
So what else may be preventing the connection?
Update : we're using erlang:get_cookie() to check the cookie on both nodes, and the values are different. So is this the problem. We think we're setting the cookie by putting the same .erlang.cookie file in the directory where we run erlang on both machines. But maybe this is the wrong place?
Update 2 : thanks for the answers everyone. We chose Ranok's as our answer because it worked well for us. I'm sure some of the alternative ways of setting the cookie would be fine too.