How to run distributed Erlang through a firewall?

Tony Zheng tzheng@REDACTED
Wed May 31 01:51:50 CEST 2006

Hi Chandru

I created a sys.config in my erlang installed
directory(/usr/local/erlang/bin). The sys.config file contained these

   [{kernel,[{inet_dist_listen_min, 9100},{inet_dist_listen_max,

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?

   $ 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)
   (one@REDACTED)1> net_adm:names().

Best regards

On Tue, 2006-05-30 at 09:19, Chandru wrote:
> You have to set this in your sys.config. Then your kernel setting will
> take effect  when it starts up. The way you are doing it above, the
> kernel has already started listening on a random port so your
> application:set_env has no effect. 
> Chandru

More information about the erlang-questions mailing list