[erlang-questions] Trouble connecting to Erlang in a virtual hosting setup
Jason A. Hoffman
Tue Aug 21 11:49:44 CEST 2007
On Aug 21, 2007, at 2:28 AM, Joel Reymont wrote:
> I host with Joyent on one of their Sparc Accelerators. My container
> has a dedicated IP address and I point both wagerlabs.com and
> topdog.cc to it. Internally, though, the name of the box is
> I cannot connect to this node with net_adm:ping/1 using the internal
> box name since the Erlang ports are blocked.
> The challenge code in dist_util grabs the internal box name and fails
> in list_to_existing_atom when I cannot connect to my node using my
> domain names or the IP address. It also fails with no_node if I pre-
> create the xxx@REDACTED atom since the host portion of
> the node name won't match that returned by the Erlang node at Joyent.
> Is there a workaround for this?
> Thanks, Joel
It doesn't have to be called "z13261AA.textdrive.com".
You can change the hostname with
and permanently by editing /etc/nodename
More information about the erlang-questions