admin管理员组文章数量:1608628
Failed to obtain JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 127.0.0.1, port 1433 has failed. Error: "Connection timed out: no further information.. 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.".
目录
(1)打开SQL Server 2019配置管理器
(2)将TCP/IP禁用状态改为已启用状态
(3)重启SQL Server(MSSQLSERVER)服务
(1)打开SQL Server 2019配置管理器
位置:开始–>Microsoct SQL Server 2019–>SQL Server 2019配置管理器
如果你不是用的2019版本,找到与自己安装的版本号相同的即可。
(2)将TCP/IP禁用状态改为已启用状态
sqlServer默认端口是1433,没有特别要求可以不用修改端口号。
(3)重启SQL Server(MSSQLSERVER)服务
首先通过cmd输入命令services.msc
本文标签: HostTCPipConnectionError
版权声明:本文标题:The TCPIP connection to the host 127.0.0.1, port 1433 has failed. Error: “Connection timed out: no 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728550283a1163340.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论