gpt4 book ai didi

java - com.microsoft.sqlserver.jdbc.SQLServerException : The TCP/IP connection to the host localhost, 端口 1433 失败

转载 作者:太空狗 更新时间:2023-10-29 22:42:02 24 4
gpt4 key购买 nike

<分区>

我一直收到这个错误。我尝试了 Stack Overflow 中的一种解决方案(如下),但它对我不起作用: SQL Exception while connecting to SQL server

我尝试使用一个链接在 Windows 防火墙中允许端口 1433,但这也不起作用。请参阅“在 Windows 防火墙中打开端口以进行 TCP 访问”部分 http://msdn.microsoft.com/en-us/library/ms175043.aspx

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IPconnection to the host localhost, port 1433 has failed. Error:"Connection refused: connect. Verify the connection properties. Makesure that an instance of SQL Server is running on the host andaccepting TCP/IP connections at the port. Make sure that TCPconnections to the port are not blocked by a firewall.

请帮我解决这个问题。

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com