Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 65583 invoked from network); 26 Sep 2008 15:27:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 15:27:49 -0000 Received: (qmail 69027 invoked by uid 500); 26 Sep 2008 15:27:41 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 69012 invoked by uid 500); 26 Sep 2008 15:27:41 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 69001 invoked by uid 99); 26 Sep 2008 15:27:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 08:27:41 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of larry.meadors@gmail.com designates 209.85.134.188 as permitted sender) Received: from [209.85.134.188] (HELO mu-out-0910.google.com) (209.85.134.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 15:26:40 +0000 Received: by mu-out-0910.google.com with SMTP id i2so804937mue.6 for ; Fri, 26 Sep 2008 08:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WXxmzMNY1PeXA/afrqjPb8rawcoJQkIS5vtndcaVYKc=; b=GoSNxxs0hZHFVtMdh8d11NLMlWEmM418L1Sc7GNZ6cxVKF13yoajQZz1weEgAKWpRH 4LE0ORmzg8YVIWiwicLDdqDvG1fgvSWCIAD9HF/nRMftDZ+f873DrAYQqvcIt3Y3Epy/ rA+IYu9JACBm8xkC/fuyxgdUiarBFzBy8OjbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=APmWesChnWPcI4VwSErTPliErFmB54RKbyHMsuKwRpSAzVpbuEfrarHd6LJXtvx6zV iG/Nr4Pdn3itNAswqsDWbeyxWXgVpPIL3Km5QIDvO6HHwesb/jWfVMeZBtoWBKxd98RL W2CmIRte02wZmyRl94gvXb8qXlZ/XIkqzmI1Q= Received: by 10.187.221.13 with SMTP id y13mr48993faq.1.1222442815643; Fri, 26 Sep 2008 08:26:55 -0700 (PDT) Received: by 10.187.246.19 with HTTP; Fri, 26 Sep 2008 08:26:55 -0700 (PDT) Message-ID: Date: Fri, 26 Sep 2008 09:26:55 -0600 From: "Larry Meadors" Reply-To: larry.meadors@gmail.com To: user-java@ibatis.apache.org Subject: Re: JDBC.ConnectionURL problem. Changed from 'localhost' to 'IP-number' In-Reply-To: <19690286.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19679603.post@talk.nabble.com> <19690286.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Firewall, maybe? nmap -P0 -p 3306 69.89.12.165 Larry On Fri, Sep 26, 2008 at 9:07 AM, xianwinwin wrote: > > mmm.....no, that's not the reason (though good catch!) > > I double checked the code is: > > > value="jdbc:mysql://69.89.12.165:3306/my_db"/> > > > and the error message is: > > > > --- Cause: com.mysql.jdbc.CommunicationsException: Communications link > failure due to underlying exception: > > ** BEGIN NESTED EXCEPTION ** > > java.net.SocketException > MESSAGE: java.net.ConnectException: Connection refused: connect > > STACKTRACE: > > java.net.SocketException: java.net.ConnectException: Connection refused: > connect > at > com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) > -- > View this message in context: http://www.nabble.com/JDBC.ConnectionURL-problem.-Changed-from-%27localhost%27-to-%27IP-number%27-tp19679603p19690286.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > >