Forum Discussion

annatopping's avatar
2 years ago
Solved

jDBC driver refused to connect during initial setup

i am following this tutorial: https://support.smartbear.com/readyapi/docs/testing/data-driven/tutorials/jtds/driver.html

 

but when i test my database connection in readyAPI i get the following error

 

my driver and SSO files are properly placed and i have entered the template for the database in preferences using the following format: jdbc:jtds:sqlserver://<HOST:<host>>:<PORT:<port>>/<DB>;domain=<domain>;trusted_connection=yes

 

i have the most recent version of SQL Server 2014 Management Studio and used the links in the linked page to download my drivers

 

the full error i am getting is Failed to get a connection for the specified properties; java.sql.SQLException: Network error IOException: Connection refused: connect

  • i resolved this but specifying the specific port i was using as the TCP port in the connect settings with the SQL server configuration app

1 Reply

  • i resolved this but specifying the specific port i was using as the TCP port in the connect settings with the SQL server configuration app