[erlang-questions] 答复: 答复: Connect to Node with multiple IPs

huangjl huangjl@REDACTED
Tue May 8 08:09:02 CEST 2012


I don’t think so, the proxy mode will increase the net delay or system load.

 

黄锦亮

网宿科技厦门分公司

 

发件人: Zheng Zhibin [mailto:witeman.g@REDACTED] 
发送时间: 2012年5月7日 15:02
收件人: huangjl
抄送: <erlang-questions@REDACTED>
主题: Re: 答复: [erlang-questions] Connect to Node with multiple IPs

 

one domain + reverse proxy, such as nginx?

发自我的 iPhone


在 2012-5-7,下午2:53,"huangjl" <huangjl@REDACTED> 写道:

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:witeman.g@REDACTED] 
发送时间: 2012年5月7日 14:08
收件人: huangjl
抄送: <erlang-questions@REDACTED>
主题: Re: [erlang-questions] Connect to Node with multiple IPs

 

use domain instead of ip, then config your hosts table

发自我的 iPhone


在 2012-5-7,上午11:11,"huangjl" <huangjl@REDACTED> 写道:

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@REDACTED’) or net_kernel:connect_node(‘test@REDACTED’). Then , how to start only one test node at MachineB which can receive all messages from test@REDACTED and test@REDACTED

 

_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120508/13c63895/attachment.htm>


More information about the erlang-questions mailing list