<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"批注框文本 Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:9.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.Char
{mso-style-name:"批注框文本 Char";
mso-style-priority:99;
mso-style-link:批注框文本;
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I don’t think so, the proxy mode will increase the net delay or system load.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-family:宋体;color:#1F497D'>黄锦亮</span><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:宋体;color:#1F497D'>网宿科技厦门分公司</span><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal align=left style='text-align:left'><b><span style='font-size:10.0pt;font-family:宋体'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt;font-family:宋体'> Zheng Zhibin [mailto:witeman.g@gmail.com] <br></span><b><span style='font-size:10.0pt;font-family:宋体'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt;font-family:宋体'> 2012</span><span style='font-size:10.0pt;font-family:宋体'>年<span lang=EN-US>5</span>月<span lang=EN-US>7</span>日<span lang=EN-US> 15:02<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> huangjl<br></span><b>抄送<span lang=EN-US>:</span></b><span lang=EN-US> <erlang-questions@erlang.org><br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> Re: </span>答复<span lang=EN-US>: [erlang-questions] Connect to Node with multiple IPs<o:p></o:p></span></span></p></div></div><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>one domain + reverse proxy, such as nginx?<br><br></span><span style='font-family:宋体'>发自我的</span><span lang=EN-US> iPhone<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br></span><span style='font-family:宋体'>在</span><span lang=EN-US> 2012-5-7</span><span style='font-family:宋体'>,下午</span><span lang=EN-US>2:53</span><span style='font-family:宋体'>,</span><span lang=EN-US>"huangjl" <<a href="mailto:huangjl@chinanetcenter.com">huangjl@chinanetcenter.com</a>> </span><span style='font-family:宋体'>写道:</span><span lang=EN-US><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>But without DNS, it seems I have to config two domains for two IPs?</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>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?</span><span lang=EN-US><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US style='color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal align=left style='text-align:left'><b><span style='font-size:10.0pt;font-family:宋体'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt;font-family:宋体'> Zheng Zhibin [<a href="mailto:witeman.g@gmail.com">mailto:witeman.g@gmail.com</a>] <br></span><b><span style='font-size:10.0pt;font-family:宋体'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt;font-family:宋体'> 2012</span><span style='font-size:10.0pt;font-family:宋体'>年<span lang=EN-US>5</span>月<span lang=EN-US>7</span>日<span lang=EN-US> 14:08<br></span><b>收件人<span lang=EN-US>:</span></b><span lang=EN-US> huangjl<br></span><b>抄送<span lang=EN-US>:</span></b><span lang=EN-US> <<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>><br></span><b>主题<span lang=EN-US>:</span></b><span lang=EN-US> Re: [erlang-questions] Connect to Node with multiple IPs</span></span><span lang=EN-US><o:p></o:p></span></p></div></div><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>use domain instead of ip, then config your hosts table<br><br></span><span style='font-family:宋体'>发自我的</span><span lang=EN-US> iPhone<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br></span><span style='font-family:宋体'>在</span><span lang=EN-US> 2012-5-7</span><span style='font-family:宋体'>,上午</span><span lang=EN-US>11:11</span><span style='font-family:宋体'>,</span><span lang=EN-US>"huangjl" <<a href="mailto:huangjl@chinanetcenter.com">huangjl@chinanetcenter.com</a>> </span><span style='font-family:宋体'>写道:</span><span lang=EN-US><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span lang=EN-US>Hi, All<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> 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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p></div></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US style='font-size:12.0pt;font-family:宋体'>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><span lang=EN-US><o:p></o:p></span></p></div></blockquote></div></blockquote></div></body></html>