[erlang-questions] Becoming distributed on Windows

Avinash Dhumane avinash@REDACTED
Fri Apr 6 09:36:16 CEST 2012


When Windows is booted up, below undesirable is observed. Please. Thanks.

-----------------------------
Krishna@REDACTED ~
$ erl
Eshell V5.8.3  (abort with ^G)
1> net_kernel:start([abc, shortnames]).

=INFO REPORT==== 6-Apr-2012::12:47:29 ===
Protocol: "inet_tcp": register error: {{badmatch,{error,econnrefused}},
                                        [{inet_tcp_dist,listen,1},
                                         {net_kernel,start_protos,4},
                                         {net_kernel,start_protos,3},
                                         {net_kernel,init_node,2},
                                         {net_kernel,init,1},
                                         {gen_server,init_it,6},
                                         {proc_lib,init_p_do_apply,3}]}
{error,{shutdown,{child,undefined,net_sup_dynamic,
                         {erl_distribution,start_link,[[abc,shortnames]]},
                         permanent,1000,supervisor,
                         [erl_distribution]}}}
2> q().
ok
3>
Krishna@REDACTED ~
$ erl -sname abc
Eshell V5.8.3  (abort with ^G)
(abc@REDACTED)1> q().
ok
(abc@REDACTED)2>
Krishna@REDACTED ~
$ erl
Eshell V5.8.3  (abort with ^G)
1> net_kernel:start([abc, shortnames]).
{ok,<0.32.0>}
(abc@REDACTED)2> q().
ok
3>
Krishna@REDACTED ~
$ erl
Eshell V5.8.3  (abort with ^G)
1> net_kernel:start([foo, shortnames]).
{ok,<0.32.0>}
(foo@REDACTED)2> net_kernel:stop().
ok
3> q().
ok
4>
Krishna@REDACTED ~
$
-----------------------------

PS: Erlang is installed using the default binary executable installer for  
Windows.



More information about the erlang-questions mailing list