開個玩笑:The TCP/IP connection to the host XXXX, port 1433 has failed.


某客戶:你們的監控軟件連接不上我們的后台數據庫了,報超時了,請問超時時間怎樣設置的?

某人:你們用的是那個數據庫的?

某客戶:

Exception message: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: 
The TCP/IP connection to the host XXXX, port 1433 has failed.
Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
and that no firewall is blocking TCP connections to the port.".);
- nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection;
- nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host XXXX, port 1433 has failed. Error: "connect timed out.
Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".))

 某人:這是mssql server 數據庫的。

某人看了一下報錯,發現是連接根本創建不了,不別提超時了。

某人:你們是不是做了什么更改了?

某客戶:是啊,我們對數據庫做了一些調整,然后就出現這問題了。

某人:好像是TCP/IP請求給阻擋住了,你要查一下是不是 TCP/IP協議給禁止了。點擊“SQL Server Configuration Manager" -> "SQL Server XXX Network Configuration -> Protocols for MSSQL SERVER -> TCP/IP,如果是被禁止了,就啟動一下。

某客戶:好的,我們試一下。

......

......

......

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM