Hi @Sagar Mali ,
Your question is related to Java and I am not familiar with it. But here have some check-list may help you:
- Please make sure that you can ping the server that has SQL Server installed.
- Make sure that the SQL Server instance is running well.
- Make sure that the codes used to establish connection are correct.
And please refer to Connecting to SQL Server with the JDBC driver and Troubleshooting connectivity to get more information.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Permit me to point out that you are indeed to upgrade that server. You should be on SQL 2016 SP2 CU16, which is the most recent Cumulative Update. SP1 is seriously out of date.
Hi, we have not get a reply from you. Did any answers could help you? If there has an answer helped, do "Accept Answer". If it is not work, please let us know the progress. By doing so, it will benefit all community members who are having this similar issue. Your contribution is highly appreciated.