A short node name identifies a BEAM instance with the form prefix@host, using the host name without a fully qualified domain name. Start it with --sname; the prefix distinguishes nodes on one machine, while the host identifies the machine. section 12.3.1 section 12.1.1
Use short names with these operational constraints:
- The host part must resolve to the machine’s IP address before nodes can connect. section 12.3.1
- A short-named node can connect only to another short-named node; long and short names cannot interoperate. section 12.3.1
- Inspect the current name with Kernel.node/0 and connected peers with Node.list/0. section 12.1.1
$ iex --sname node1@localhost #1 iex(node1@localhost)1> #2
Start an IEx node with --sname and observe the resulting short name. section 12.1.1

