ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xianwinwin <xianwin...@gmail.com>
Subject Re: JDBC.ConnectionURL problem. Changed from 'localhost' to 'IP-number'
Date Fri, 26 Sep 2008 20:52:12 GMT


Starting Nmap 4.53 ( http://insecure.org ) at 2008-09-26 16:48 EDT

Interesting ports on h-69.89.12.165.nycmny83.covad.net (69.89.12.165):

PORT     STATE SERVICE

3306/tcp open  mysql







Larry Meadors wrote:
> 
> Firewall, maybe?
> 
> nmap -P0 -p 3306 69.89.12.165
> 
> Larry
> 
> 
> On Fri, Sep 26, 2008 at 9:07 AM, xianwinwin <xianwinwin@gmail.com> wrote:
>>
>> mmm.....no, that's not the reason (though good catch!)
>>
>> I double checked the code is:
>>
>>
>> <property name="JDBC.ConnectionURL"
>> 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.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/JDBC.ConnectionURL-problem.-Changed-from-%27localhost%27-to-%27IP-number%27-tp19679603p19696187.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message