Tag: sql server 2008

com.microsoft.sqlserver.jdbc.SQLServerException:与主机localhost,端口1433的TCP / IP连接失败

我继续得到这个错误。 我尝试了stackoverflow(下面)中的一个解决方案,它对我不起作用 – 连接到SQL服务器时出现SQLexception 我尝试通过使用链接来允许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 […]