我不断收到此错误。 我试图从计算器(如下),这并没有为我工作的一个解决方案- SQL异常,同时连接到SQL Server
我试图用一个链接,这并没有太多的工作,允许在Windows防火墙端口1433。 请参见“要在Windows防火墙中为TCP访问打开一个端口” http://msdn.microsoft.com/en-us/library/ms175043.aspx
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP
connection to the host localhost, port 1433 has failed. Error:
"Connection refused: connect. Verify the connection properties.
Make sure that an instance of SQL Server is running on the host
and accepting TCP/IP connections at the port. Make sure that TCP
connections to the port are not blocked by a firewall.
请帮我解决这个问题。
谢谢