{{theTime}}

Search This Blog

Total Pageviews

java.sql.SQLException: Network error IOException:

How to resolve this error?
Error: Could not check DB connection
java.sql.SQLException: Network error IOException: Connection refused: connect (see logs for details)
14:21:54 Warning: Failed to connect to database. Will retry in 15 seconds: java.sql.SQLException: Network error IOException: Connection refused: connect

1) Check the database services.
2) Goto control panel --> administrative tasks -->services --> check for the Database(sqlserver/oracle) server service.  Start the service if it is stopped.

No comments:

Java Shutdown Hook

Runtime.getRuntime().addShutdownHook(new Thread(() -> {             System.out.println("Shutdown started");              //  Cl...