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 –