问题现象dbeaver连接opengauss报错connection refusedconnect问题排查服务器外部可以ping通但是telnet端口失败在服务器上telnet本机ip和端口是不通的telnet127.0.0.1是通的#服务器上测试 [ommlocalhost ~]$ telnet 192.168.204.129 5432 Trying 192.168.204.129... telnet: connect to address 192.168.204.129: Connection refused [ommlocalhost ~]$ telnet 127.0.0.1 5432 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is ^].问题原因未允许配置其他地址连接只允许本地进行连接问题解决vim /home/omm/openGauss/data/postgresql.conf实际路径根据自己安装位置修改找到listen_addresses,默认可能是127.0.0.1或者localhost修改为*然后重启数据库gs_ctl restart -D /home/omm/openGauss/data/ 实际路径根据自己安装位置修改修改前修改后问题验证再次测试就可以连接上了