Skip to content

Node.connect only works with fully qualified node name on OSX (Yosemite)  #3955

@joel-regen

Description

@joel-regen

I tried connecting two nodes per the instructions in Chapter 15 of the Programming Elixir book (Dave Thomas) on a Mac running Yosemite (10.10.3) and it refused to work unless I used the fully qualified names (iex --name top@joel.local).

with short names:
TOP WINDOW
[ OTP ] $ iex --sname top@joel
Erlang/OTP 17 [erts-6.3.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Interactive Elixir (1.0.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(top@joel)1> Node.connect :"bot@joel"
false

with FQ names:
[ OTP ] iex --name top@joel.local
Erlang/OTP 17 [erts-6.3.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Interactive Elixir (1.0.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(top@joel.local)1> Node.connect :"bot@joel.local"
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions