ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <larry.mead...@gmail.com>
Subject Re: JDBC.ConnectionURL problem. Changed from 'localhost' to 'IP-number'
Date Fri, 26 Sep 2008 15:26:55 GMT
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.
>
>

Mime
View raw message