Network error IOException: Connection refused: connecting to MSSQL
843859Nov 28 2007 — edited Nov 20 2014Hi ,
i am getting the following exception while connecting to MSSQL
using jtds driver
java.sql.SQLException: Network error IOException: Connection refused: connect
The server name given to me is something like
ABC2345SD.DEF.COMPANY.COM\ABCD6543
database name = AAA
so what should be my connection url
<property name="connection.url">jdbc:jtds:sqlserver://_______/AAA;AuthenticationMethod=auto</property>
thanks and regards,
ivin