On 31/05/06, <b class="gmail_sendername">Tony Zheng</b> <<a href="mailto:tzheng@veyu.com">tzheng@veyu.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Chandru<br><br>I created a sys.config in my erlang installed<br>directory(/usr/local/erlang/bin). The sys.config file contained these<br>contents:<br><br> [{kernel,[{inet_dist_listen_min, 9100},{inet_dist_listen_max,
<br>9101}]}].<br><br>Then I started the erl command and used net_adm:names() to check the<br>port number of erlang node. It didn't take effect and still created a<br>dynamic port number by erlang. Are there any suggestions about that?
<br>Thanks.<br><br> $ erl -name one -config /usr/local/erlang/bin/sys<br> Erlang (BEAM) emulator version 5.4.12 [source] [hipe]<br><br> Eshell V5.4.12 (abort with ^G)<br> (<a href="mailto:one@server1.domain.com">
one@server1.domain.com</a>)1> net_adm:names().<br> {ok,[{"one",43178}]}</blockquote><div><br><br>What does application:get_all_env(kernel) return?<br><br>Chandru<br> <br></div><br></div>