Forum Discussion

VishKini's avatar
VishKini
Occasional Contributor
5 years ago
Solved

Error when connecting MSSQL server using JDBC Request

Hello,

 

This is my first time trying to use a JDBC request to connect to SQL DB.When i am trying to connect i am getting an error as below.

 

Can't get the Connection for specified properties; com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 127.0.0.1, port xxxx has failed. Error: "Connection refused: connect. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

 

I have checked with my network team and there are no blocks reported.

 

Can anyone help me in resolving this error?