How to run distributed Erlang through a firewall?

Chandru <>
Wed May 31 10:31:40 CEST 2006


On 31/05/06, Tony Zheng <> wrote:
>
> Hi Chandru
>
> I created a sys.config in my erlang installed
> directory(/usr/local/erlang/bin). The sys.config file contained these
> contents:
>
>    [{kernel,[{inet_dist_listen_min, 9100},{inet_dist_listen_max,
> 9101}]}].
>
> Then I started the erl command and used net_adm:names() to check the
> port number of erlang node. It didn't take effect and still created a
> dynamic port number by erlang. Are there any suggestions about that?
> Thanks.
>
>    $ erl -name one -config /usr/local/erlang/bin/sys
>    Erlang (BEAM) emulator version 5.4.12 [source] [hipe]
>
>    Eshell V5.4.12  (abort with ^G)
>    ()1> net_adm:names().
>    {ok,[{"one",43178}]}



What does application:get_all_env(kernel) return?

Chandru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060531/1c661158/attachment.html>


More information about the erlang-questions mailing list