Hmm. Right. There is probably some sort of packet filtering in my way, but I don't know how to tell, or in this case, how I can get it turned off.<div>Going for an ssh tunneling solution instead...<br><br>On Friday, March 22, 2013 3:59:28 AM UTC-4, hyperthunk wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div bgcolor="#FFFFFF"><div>Hi,</div><div><br></div><div>Just because you can open a socket doesn't mean the whole protocol is going to work. Are you sure no packet filtering goes on in the troublesome location?</div><div><br></div><div>On 21 Mar 2013, at 17:28, Steve Leibman &lt;<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uWDYL1XCnSIJ">slei...@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Update: these same observations are true even if I point my clients to <a href="http://dev.rabbitmq.com" target="_blank">dev.rabbitmq.com</a>.<div>I can connect to 5672 on <a href="http://dev.rabbitmq.com" target="_blank">dev.rabbitmq.com</a> from either machine (e.g. using telnet), but my rabbit client fails from one of the two machines with the exception shown previously.<br><br>On Thursday, March 21, 2013 1:17:43 PM UTC-4, Steve Leibman wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I have RabbitMQ client code (I've reproduced the issue with just the sample consumer code from&nbsp;<a href="http://www.rabbitmq.com/tutorials/tutorial-one-java.html" target="_blank">http://www.rabbitmq.com/<wbr>tutorials/tutorial-one-java.<wbr>html</a> ) that works fine from one machine, but not from another (both attempting to connect to the same broker/server). The machine that fails to run this successfully is in a completely different location, with its own firewall rules, so the first obvious thing to check is connectivity to tcp port 5672 on the server machine, and I have confirmed (via both "telnet &lt;hostname&gt; 5672" and via a simple java program that runs&nbsp;<span style="font-family:Monaco;font-size:11px;color:rgb(161,0,102)">new</span><span style="font-family:Monaco;font-size:11px;color:rgb(0,0,0)"> Socket(</span><span style="color:rgb(87,0,255);font-family:Monaco;font-size:11px">"&lt;hostname&gt;"</span><span style="font-family:Monaco;font-size:11px;color:rgb(0,0,0)">, 5672)</span>&nbsp;) that basic connectivity works fine.</div><div><br></div><div>My exception stack trace is shown below.</div><div><br></div><div>Any suggestions for next steps?</div><div><br></div><div><div>Exception in thread "main" java.io.IOException</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>AMQChannel.wrap(AMQChannel.<wbr>java:106)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>AMQChannel.wrap(AMQChannel.<wbr>java:102)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>AMQConnection.start(<wbr>AMQConnection.java:360)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.<wbr>ConnectionFactory.<wbr>newConnection(<wbr>ConnectionFactory.java:516)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.<wbr>ConnectionFactory.<wbr>newConnection(<wbr>ConnectionFactory.java:533)</div><div><span style="white-space:pre">        </span>at Recv.main(Recv.java:15)</div><div>Caused by: com.rabbitmq.client.<wbr>ShutdownSignalException: connection error; reason: java.net.SocketException: Connection reset</div><div><span style="white-space:pre">        </span>at com.rabbitmq.utility.<wbr>ValueOrException.getValue(<wbr>ValueOrException.java:67)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.utility.<wbr>BlockingValueOrException.<wbr>uninterruptibleGetValue(<wbr>BlockingValueOrException.java:<wbr>33)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>AMQChannel$<wbr>BlockingRpcContinuation.<wbr>getReply(AMQChannel.java:343)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>AMQConnection.start(<wbr>AMQConnection.java:313)</div><div><span style="white-space:pre">        </span>... 3 more</div><div>Caused by: java.net.SocketException: Connection reset</div><div><span style="white-space:pre">        </span>at java.net.SocketInputStream.<wbr>read(SocketInputStream.java:<wbr>189)</div><div><span style="white-space:pre">        </span>at java.net.SocketInputStream.<wbr>read(SocketInputStream.java:<wbr>121)</div><div><span style="white-space:pre">        </span>at java.io.BufferedInputStream.<wbr>fill(BufferedInputStream.java:<wbr>235)</div><div><span style="white-space:pre">        </span>at java.io.BufferedInputStream.<wbr>read(BufferedInputStream.java:<wbr>254)</div><div><span style="white-space:pre">        </span>at java.io.DataInputStream.<wbr>readUnsignedByte(<wbr>DataInputStream.java:288)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>Frame.readFrom(Frame.java:95)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>SocketFrameHandler.readFrame(<wbr>SocketFrameHandler.java:131)</div><div><span style="white-space:pre">        </span>at com.rabbitmq.client.impl.<wbr>AMQConnection$MainLoop.run(<wbr>AMQConnection.java:515)</div></div><div><br></div><div>Thanks,</div><div>Steve Leibman</div></blockquote></div></div></blockquote><blockquote type="cite"><div><span>______________________________<wbr>_________________</span><br><span>rabbitmq-discuss mailing list</span><br><span><a href="javascript:" target="_blank" gdf-obfuscated-mailto="uWDYL1XCnSIJ">rabbitmq...@lists.<wbr>rabbitmq.com</a></span><br><span><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a></span><br></div></blockquote></div></blockquote></div>