I just installed sql server 2008 express on xp in vmware. My connection string looks like this
jdbc:jtds:sqlserver://localhost:1433/DEV
I have enabled TCP/IP
I have started Sql Server and Sql Server Browser service
I have disabled firewall.
In the same machine I installed a sql client – squirrel sql and using the above connection string, I get connection refused.
I am able to connect using SQL Server Management Studio…so I know my sql server is running.
Any help is appreciated.
I missed to update TCP/IP ip addresses section.. setting the port to 1433 and restarting fixed the issue.
Thanks for all the help