阅读:77954
回复:2
|
数据库超时
在linux系统下部署java版的数据库账户密码验证都是正确的但是显示数据库连接超时
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.0.102, port 1433 has failed. Error: "connect timed out. 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.". at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190) at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241) at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243) at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309) at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827) at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at OThinker.Common.Data.Database.SqlExecutor.CheckConnection(SqlExecutor.java:829) at OThinker.Common.Data.Database.CommandFactory.CheckConnection(CommandFactory.java:126) at OThinker.H3.Entity.EngineChannel.CheckReady(EngineChannel.java:59) at OThinker.H3.Entity.EngineChannel.OnStart(EngineChannel.java:82) at OThinker.EngineStartup.main(EngineStartup.java:64) |
2楼#
发布于:2018-11-26 20:11
|
|