anthonator
"Hostname is illegal" when attempting to connect nodes
Hey everyone!
I’m trying to connect two nodes together using hostnames (rather than IP) and I keep getting this error:
** System running to use fully qualified hostnames **
** Hostname <hostname> is illegal **
If I use IP addresses rather than hostnames it works.
Any ideas?
Most Liked
benwilson512
Can you provide examples of the host names you’re trying to use?
NobbZ
It seems as if you started your BEAM in “long name” mode, and in long name mode at least one dot is expected in the hostname to make the BEAM recognize it as “fully qualified”, localhost might be an exception of this rule, but I’m not quite sure about that.
cmkarlsson
The BEAM don’t think that is good enough. Funnily enough, If I put
127.0.0.1 core_repo.
in the hosts file. This actually works.
Note the . on the end.
anthonator
Using core.repo instead of core-repo or corerepo works 


idi527
Could you please search the codebase for <hostname>? It might be some default value somewhere. I think I saw it once in the templates distillery generates.







