I'm trying to connect to a MS SQL 2008 R2 Express server on my local machine (Win7 Prof 64bit, MSSQL=64bit, too). This fails with 'Connection refused: connect'
The issue is identical to this post: Cannot connect to msql 2008 express with JDBC
Unfortunately the solution in that post doesn't work in my case. TCP/IP has been enabled on port 1433 already, no firewall is active. I'm using MS JDBC driver 3.0. Connecting with Mgmt Studio or via C++ and OleDB works perfectly. I've followed the suggestion in some other posts on the web to check with telnet. The command 'telnet localhost 1433' returns the same error.
So it could be this is not a plain jdbc issue but maybe more of an SQL Server issue.
One idea is that it could have to do with the machine running under 64bit Win7.
Anyway, I'm stuck. Any hints what else I could check or try?