尝试连线已失败。 Connection reset Connection reset

尝试连线已失败。
Connection reset
Connection reset

请您具体描述一下报错场景,提供一下报错信息。

环境是在uos 专业版中用的虚拟机virtual 按的openEuler22.03版,在openEuler中安的openGauss 6.0 安装成功了,在虚拟机里面可以访问数据库,omm账号这些也配置了的。pg_hba也配置了。就是用Dbeaver社区版就报这个错。jdbc也下载的官方的6.0.2的。

“local” is for Unix domain socket connections only

local all all trust
host all omm 192.168.56.101/32 trust

IPv4 local connections:

host all all 127.0.0.1/32 trust
host all all 192.168.56.101/32 sha256
host all remote_user1 192.168.3.111/24 sha256

IPv6 local connections:

host all all ::1/128 trust

Allow replication connections from localhost, by a user with the

replication privilege.

#local replication omm trust
#host replication omm 127.0.0.1/32 trust
#host replication omm ::1/128 trust

防火墙这些都关闭了的

关闭防火墙并禁止开机重启。

systemctl disable firewalld.service
systemctl stop firewalld.service

可以设置允许md5加密方式连接试试

不是哪个原因,设的是sha256