I am learning Java and need to just run something simple to retrieve some data from MSSQL via JDBC. The example in my book doesn\'t work (but it is several years old) and th
Thanks Finally it's working. If it shows below message as error,
Verify the server and instance names and check that no firewall is blocking
UDP traffic to port 1434. For SQL Server 2005 or later,
verify that the SQL Server Browser Service is running on the host
Please enable Sql Server Browser by,
Start > Control Panel > Systems & Security > Administrative tools > Services
Select SQL Server Browser Right click and select properties.
Set start type as Automatic. Click on Apply > click on start > click on Ok
Make Sure your IPALL TCP Address is - 1433 !