连接虚拟机数据源问题

连接报错
Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

mysql8.0 驱动程序 mysql-connector-java-8.0.22.jar
驱动程序 com.mysql.cj.jdbc.Driver
URL jdbc:mysql://****:3306/lx?useUnicode=true&characterEncoding=UTF-8&userSSL=true&serverTimezone=GMT%2B8

imagepng
navicat 可以连接虚拟机数据库