事件回忆
由于手贱多启动了一次项目,导致sqlserver内存不足,服务器报出异常如下
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host XX.XX.XX.XXX, port 1433 has failed. Error: "Connection refused (Connection refused). 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) ~[sqljdbc4-4.0.jar!/:na]
at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241) ~[sqljdbc4-4.0.jar!/:na]
at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243) ~[sqljdbc4-4.0.jar!/:na]
at com.microsoft.sqlserver.jdbc.TDSChannel.open(IOBuffer.java:491) ~[sqljdbc4-4.0.jar!/:na]
at com.microsoft.sqlserver.jdbc.