当使用epmd -address时,后面跟的IP_LIST是让epmd监听自己电脑的哪个ip的,例如:
两外一个是:
其中:
[liufan@liufan ~]$ epmd -address 192.168.1.110 -d
epmd: Tue Jul 2 04:43:17 2013: epmd running - daemon = 0
epmd: Tue Jul 2 04:43:25 2013: ** got NAMES_REQ
epmd: Tue Jul 2 04:43:25 2013: ** sent NAMES_RESP
[liufan@liufan ~]$ netstat -an | grep 4369
tcp 0 0 127.0.0.1:4369 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.110:4369 0.0.0.0:* LISTEN
两外一个是:
[liufan@liufan ~]$ epmd -address 192.168.1.110,192.168.0.108 -d
epmd: Tue Jul 2 04:44:32 2013: epmd running - daemon = 0
[liufan@liufan ~]$ netstat -an | grep 4369
tcp 0 0 127.0.0.1:4369 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.108:4369 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.110:4369 0.0.0.0:* LISTEN
其中:
[liufan@liufan ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr *************
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:ccff:fec2:e01/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1097 errors:0 dropped:0 overruns:0 frame:0
TX packets:836 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292175 (285.3 KiB) TX bytes:101428 (99.0 KiB)
Interrupt:20 Memory:f2500000-f2520000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:583 errors:0 dropped:0 overruns:0 frame:0
TX packets:583 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35261 (34.4 KiB) TX bytes:35261 (34.4 KiB)
virbr0 Link encap:Ethernet HWaddr ************
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan0 Link encap:Ethernet HWaddr ***********
inet addr:192.168.0.108 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::9e4e:36ff:fe31:fb5c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3234 errors:0 dropped:0 overruns:0 frame:0
TX packets:3016 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1385089 (1.3 MiB) TX bytes:505499 (493.6 KiB)