epmd的启动参数2

使用epmd的-port选项时,实验的例子是:
[liufan@liufan ~]$ echo $ERL_EPMD_PORT

[liufan@liufan ~]$ export ERL_EPMD_PORT=4444
[liufan@liufan ~]$ epmd -d
epmd: Tue Jul  2 05:00:39 2013: epmd running - daemon = 0
epmd: Tue Jul  2 05:01:03 2013: ** got NAMES_REQ
epmd: Tue Jul  2 05:01:03 2013: ** sent NAMES_RESP

[liufan@liufan ~]$ epmd -port 4444 -names
epmd: up and running on port 4444 with data:

[liufan@liufan ~]$ export ERL_EPMD_PORT=4444
[liufan@liufan ~]$ erl -sname a
Erlang R16B01 (erts-5.10.2) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.2  (abort with ^G)
(a@liufan)1> 

[liufan@liufan ~]$ epmd -port 4444 -names
epmd: up and running on port 4444 with data:
name a at port 60082

你可能感兴趣的:(erlang,epmd)