Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Network error IOException: Connection refused: connecting to MSSQL

843859Nov 28 2007 — edited Nov 20 2014
Hi ,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2007
Added on Nov 28 2007
0 comments
128 views