I know it may sound duplicate to other posts, but I have tried my best and still no luck.
The closest post that I found is the following: JDBC connection failed, error: TCP/IP connection to host failed
So my question is, I am using SQL Server 2022, and I am able to connect through SSMS, but if I want to use DBVisualizer to connect with it, then it fails.
As suggested in the aforementioned post, I did the following.
As indicated in the post, somebody said that the dynamic port got to be the same with IPAll, I tried it, no luck.
So my DBVisualizer looks like the following. And I did set encrypted: Optional and trustServerCertificate: true in the properties column.
Hope somebody helps, thank you for your time.
EDIT:
I am using jTDS, picture attached:
There's no need to use the old hat jtds server in 2024. I installed db viz and followed the below procedure to create a windows auth connection: