Hi, All
I have a question about erlang node connection. There are two machines: MachineA and MachineB, MachineB has two IPs: IP1 and IP2. MachineA want to connect to MachineB using IP, just like net_kernel:connect_node(‘test@IP1’) or net_kernel:connect_node(‘test@IP2’). Then , how to start only one test node at MachineB which can receive all messages from test@IP1 and test@IP2.
Hi, All
I have a question about erlang node connection. There are two machines: MachineA and MachineB, MachineB has two IPs: IP1 and IP2. MachineA want to connect to MachineB using IP, just like net_kernel:connect_node(‘test@IP1’) or net_kernel:connect_node(‘test@IP2’). Then , how to start only one test node at MachineB which can receive all messages from test@IP1 and test@IP2.
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
But without DNS, it seems I have to config two domains for two IPs?
My purpose is detect which IP is suitable for MachineA to connect to MachineB, but I don’t want to start two nodes for MachineB, is there any way to do this?
发件人: Zheng Zhibin [mailto:wite...@gmail.com]
发送时间: 2012年5月7日 14:08
收件人: huangjl
抄送: <erlang-q...@erlang.org>
主题: Re: [erlang-questions] Connect to Node with multiple IPs
I don’t think so, the proxy mode will increase the net delay or system load.
黄锦亮
网宿科技厦门分公司
发件人: Zheng Zhibin [mailto:wite...@gmail.com]
发送时间: 2012年5月7日 15:02
收件人: huangjl
抄送: <erlang-q...@erlang.org>
主题: Re: 答复: [erlang-questions] Connect to Node with multiple IPs