From dev-return-21244-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Jul 21 00:20:49 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 56595 invoked from network); 21 Jul 2010 00:20:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jul 2010 00:20:48 -0000 Received: (qmail 95985 invoked by uid 500); 21 Jul 2010 00:20:48 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95960 invoked by uid 500); 21 Jul 2010 00:20:48 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 95952 invoked by uid 99); 21 Jul 2010 00:20:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 00:20:47 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 00:20:41 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1ObN2q-0004vI-Pe for dev@activemq.apache.org; Tue, 20 Jul 2010 17:20:20 -0700 Message-ID: <29220839.post@talk.nabble.com> Date: Tue, 20 Jul 2010 17:20:20 -0700 (PDT) From: ConDev To: dev@activemq.apache.org Subject: Problem connecting to the broker using java clients host name MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nileshkawoor@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I am using activemq 5.2 & 5.3.1. When my java client tries to connect to the broker using tcp, I get the following error message on windows XP. Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:525) at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:435) at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:401) at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53) at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72) at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57) at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:260) If I use the local host name in the broker url as lower case name then the client connects to the broker but when I use the local host name as upper case the connection fails. Is the local host name in the connection URL case sensitive ? Or am I overlooking something very basic ? Can anybody help me with this please ? Thanks -- View this message in context: http://old.nabble.com/Problem-connecting-to-the-broker-using-java-clients-host-name-tp29220839p29220839.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.