Database connection failure (1)

java.sql.SQLException: Network error IOException: Connection refused: connect

Use eclipse + tomcat + database connection is not on when you start the program SqlServer2016:

1. Determine the SQL Sever server is started, as this is not my mistake :()

  

2. Determine the port number 1433 has been opened, please confirm the following:

  (1) Open Configuration Manager SQLServer

    

  (2) determining IPALL same port number with the connection port number, and if not can double-click on the port number modification position

  (3) to restart the service, ok.

 

Guess you like

Origin www.cnblogs.com/chen2608/p/11420949.html