unknown
1970-01-01 00:00:00 UTC
Sincerely,=20
Multisegment, Inc.=20
C/O Luke P. Immes, President=20
20 Williamsburg Court, suite 14=20
Shrewsbury, MA 01545=20
http://www.multisegment.com
***@multisegment.com
508 579 2683 (cell)=20
508 845 5960 (voice)
--=-Gu3DZ5SvDwopE64ngYTi
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4">
</HEAD>
<BODY>
Tim,
<BR>
Thank you for the new configuration. This seems llike a good solution, and external ip and
<BR>
internal ip. But, I tried this, and still
<BR>
"host refused" from sender
<BR>
<BR>
If I place the receiver machine, outside of a firewall, at ip=<FONT COLOR="#0000ff"><FONT SIZE="2"><I>216.195.1.39</FONT></FONT></I>
<BR>
<FONT SIZE="2">and sender is on same cpu at Ip= </FONT><FONT COLOR="#0000ff"><FONT SIZE="2"><I>216.195.1.39. </FONT></FONT></I>
<BR>
<FONT SIZE="2">then sender and receiver code work as expected.</FONT>
<BR>
<FONT SIZE="2">ip=localhost will work as well (as expected). I have not been able to test when sender is a distinct public IP, becasue</FONT>
<BR>
<FONT SIZE="2">I need access to one, furthermore my webserver requires firewall configuration in order to work, which is how another</FONT>
<BR>
<FONT SIZE="2">sender ( /= </FONT><FONT COLOR="#0000ff"><FONT SIZE="2"><I>216.195.1.39) </FONT></FONT></I>
<BR>
<FONT SIZE="2">can access sender code (via java webstart).</FONT>
<BR>
<FONT SIZE="2"></FONT>
<BR>
<FONT SIZE="2">So, what are my options? Run jms outside a firewall? </FONT>
<BR>
<FONT SIZE="2">Thanks for your time. Any help would be appreciated. </FONT>
<BR>
<BR>
<BR>
On Thu, 2004-01-29 at 21:04, Tim Anderson wrote: <BLOCKQUOTE> <FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>This should have been sent to the openjms-user list.</FONT></FONT></I> <BR> <FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>You need to use the tcp connector rather than rmi, and</FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>configure the <TcpConfiguration/> element in openjms.xml.</FONT></FONT></I> <BR> <FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>E.g</FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <Connectors></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <Connector scheme="tcp"></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <ConnectionFactories></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <QueueConnectionFactory name="QueueConnectionFactory" /></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <TopicConnectionFactory name="TopicConnectionFactory" /></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> </ConnectionFactories></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> </Connector></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> </Connectors></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> ...</FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <ServerConfiguration host="216.195.1.39"/></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <TcpConfiguration internalHost="192.168.0.2"/></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>See </FONT></FONT></I><A HREF="http://openjms.sourceforge.net/config/reference.html#TcpConfiguration"><FONT SIZE="2"><I>http://openjms.sourceforge.net/config/reference.html#TcpConfiguration</FONT></I></A>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>for more details.</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>-Tim</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BLOCKQUOTE>
<FONT COLOR="#737373"><FONT SIZE="2"><I>-----Original Message-----</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>From:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> openjms-developer-***@lists.sourceforge.net [mailto:openjms-developer-***@lists.sourceforge.net]</FONT></FONT></I><FONT COLOR="#737373"><FONT SIZE="2"><B><I>On Behalf Of </FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I>Luke P Immes</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>Sent:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> Wednesday, 28 January 2004 8:57 AM</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>To:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> openjms-***@lists.sourceforge.net</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>Subject:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> [openjms-developer] rmi port and firewall problems-- inside firewall is OK send/receive</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I am having difficulty connecting to jms server from OUTSIDE of firewall. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I have 2 computers behind a firewall, 192.168.0.2 acting as receiver and has jms server. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>192.168.0.3 acts sender, for test. (Yes, I double checked these IP numbers-- they are correct) </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Note that these IPs are not public to the internet at large, nor should they be. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Netgear firewall, 192.168.0.1, maps: incoming request on at 216.195.1.39 on port 1099 to 192.168.0.2 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>216.195.1.39 is a public ip (mine), and web server works just fine, to verify ip is valid. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>The mapping mechanism works just fine, because a web server (/= jms) runs on 192.168.0.2, works </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>as expected. The web server host is listening on 192.168.0.2:8080. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>openjms.xml file </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>rmi configuration 192.168.0.3 port 1099 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>
Multisegment, Inc.=20
C/O Luke P. Immes, President=20
20 Williamsburg Court, suite 14=20
Shrewsbury, MA 01545=20
http://www.multisegment.com
***@multisegment.com
508 579 2683 (cell)=20
508 845 5960 (voice)
--=-Gu3DZ5SvDwopE64ngYTi
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4">
</HEAD>
<BODY>
Tim,
<BR>
Thank you for the new configuration. This seems llike a good solution, and external ip and
<BR>
internal ip. But, I tried this, and still
<BR>
"host refused" from sender
<BR>
<BR>
If I place the receiver machine, outside of a firewall, at ip=<FONT COLOR="#0000ff"><FONT SIZE="2"><I>216.195.1.39</FONT></FONT></I>
<BR>
<FONT SIZE="2">and sender is on same cpu at Ip= </FONT><FONT COLOR="#0000ff"><FONT SIZE="2"><I>216.195.1.39. </FONT></FONT></I>
<BR>
<FONT SIZE="2">then sender and receiver code work as expected.</FONT>
<BR>
<FONT SIZE="2">ip=localhost will work as well (as expected). I have not been able to test when sender is a distinct public IP, becasue</FONT>
<BR>
<FONT SIZE="2">I need access to one, furthermore my webserver requires firewall configuration in order to work, which is how another</FONT>
<BR>
<FONT SIZE="2">sender ( /= </FONT><FONT COLOR="#0000ff"><FONT SIZE="2"><I>216.195.1.39) </FONT></FONT></I>
<BR>
<FONT SIZE="2">can access sender code (via java webstart).</FONT>
<BR>
<FONT SIZE="2"></FONT>
<BR>
<FONT SIZE="2">So, what are my options? Run jms outside a firewall? </FONT>
<BR>
<FONT SIZE="2">Thanks for your time. Any help would be appreciated. </FONT>
<BR>
<BR>
<BR>
On Thu, 2004-01-29 at 21:04, Tim Anderson wrote: <BLOCKQUOTE> <FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>This should have been sent to the openjms-user list.</FONT></FONT></I> <BR> <FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>You need to use the tcp connector rather than rmi, and</FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>configure the <TcpConfiguration/> element in openjms.xml.</FONT></FONT></I> <BR> <FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I>E.g</FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <Connectors></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <Connector scheme="tcp"></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <ConnectionFactories></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <QueueConnectionFactory name="QueueConnectionFactory" /></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <TopicConnectionFactory name="TopicConnectionFactory" /></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> </ConnectionFactories></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> </Connector></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> </Connectors></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> ...</FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <ServerConfiguration host="216.195.1.39"/></FONT></FONT></I> <BR> <FONT COLOR="#0000ff"><FONT SIZE="2"><I> <TcpConfiguration internalHost="192.168.0.2"/></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>See </FONT></FONT></I><A HREF="http://openjms.sourceforge.net/config/reference.html#TcpConfiguration"><FONT SIZE="2"><I>http://openjms.sourceforge.net/config/reference.html#TcpConfiguration</FONT></I></A>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>for more details.</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>-Tim</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BLOCKQUOTE>
<FONT COLOR="#737373"><FONT SIZE="2"><I>-----Original Message-----</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>From:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> openjms-developer-***@lists.sourceforge.net [mailto:openjms-developer-***@lists.sourceforge.net]</FONT></FONT></I><FONT COLOR="#737373"><FONT SIZE="2"><B><I>On Behalf Of </FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I>Luke P Immes</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>Sent:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> Wednesday, 28 January 2004 8:57 AM</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>To:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> openjms-***@lists.sourceforge.net</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><B><I>Subject:</FONT></FONT></B></I><FONT COLOR="#737373"><FONT SIZE="2"><I> [openjms-developer] rmi port and firewall problems-- inside firewall is OK send/receive</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="2"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I am having difficulty connecting to jms server from OUTSIDE of firewall. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>I have 2 computers behind a firewall, 192.168.0.2 acting as receiver and has jms server. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>192.168.0.3 acts sender, for test. (Yes, I double checked these IP numbers-- they are correct) </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Note that these IPs are not public to the internet at large, nor should they be. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Netgear firewall, 192.168.0.1, maps: incoming request on at 216.195.1.39 on port 1099 to 192.168.0.2 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>216.195.1.39 is a public ip (mine), and web server works just fine, to verify ip is valid. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>The mapping mechanism works just fine, because a web server (/= jms) runs on 192.168.0.2, works </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>as expected. The web server host is listening on 192.168.0.2:8080. </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>openjms.xml file </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>rmi configuration 192.168.0.3 port 1099 </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>