com.microsoft.sqlserver.jdbc.SQLServerException

sql server 2008报异常:com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: Connection refused: connect. Please verify the connection properties and check that a SQL Server instance is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port
http://hi.baidu.com/xiuyuanvip/item/3fe50b61d8fed20da1cf0f38

其实发现自己的tcp/ip端口也起用了,发现区别是自己的IP2地址没有填写端口号1433,改正后问题解决

猜你喜欢

转载自i-feng.iteye.com/blog/1743952