1
尝试将Tomcat上的Java Spring应用程序连接到使用Hibernate的我的sqlserver express数据库。Java Hibernate sql server快速连接错误
四处错误:
com.microsoft.sqlserver.jdbc.SQLServerException: Connection Failed TCP/IP to localhost port 1433.
Error: "Connection refused: connect. Check the connection properties, make
sure that an instance of SQL Server is running on the host and accepting TCP
/IP connections to port, and make sure that no firewall is blocking TCP
connections to port. ".
可能会从此处获得答案访问http://stackoverflow.com/questions/18841744/jdbc-connection-failed-error-tcp-ip-连接到主机失败 –
我去启用TCP/IP权利框,我发现它已经启用TCP/IP 1433 –