CAS service reported an error connection timeout java.net.ConnectException: Connection timed out: connect

Error:

ERROR [org.jasig.cas.authentication.AuthenticationManagerImpl] -
 <org.jasig.cas.adaptors.jdbc.QueryDatabaseAuthenticationHandler threw error authenticating [username: admin]>
 
org.springframework.jdbc.CannotGetJdbcConnectionException: 
Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: 
Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception: 

** BEGIN NESTED EXCEPTION ** 

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect

The reason for the error: the socket socket connection fails, and the IP is not connected at all .
So you need to check whether the IP connection you configured is correct. The

configuration file is in deployerConfigContext.xml

Modify the url to the corresponding address.
Ask for the requested address, whether your IP has permission to
Insert picture description here
reprint

Guess you like

Origin blog.csdn.net/qq_34462698/article/details/113126160