GBase 8c
安装配置
问答

8c单机部署 无法建立远程连接

发表于2024-04-30 13:44:09223次浏览2个评论

【GBase版本】: GBase8cV5_S5.0.0B16_centos7.8_x86_64.tar.gz

【操作系统】: centos

【CPU】: 非国产x86

【问题描述】*:无法远程连接

   参考文档:GBase 8c V5_5.0.0_安装部署手册_V1.4_20231130.pdf

8c单机部署

现在我想在本机连接到这台gbase,连接不到

服务器情况:

评论

登录后才可以发表评论
九思Anthen发表于 2年前
检查listen_addresses参数,看端口只有127.0.0.1,
配置为listen_addresses = 'localhost,172.16.5.106'
或者listen_addresses = '*'
用户头像
渝欢发表于 2年前
netstat中显示没有打开远程监听,配置如下即可远程连接:
gs_guc set -Z datanode -N all -I all -c "listen_addresses='*'"
gs_guc reload -Z datanode -N all -I all -c "password_encryption_type=1"
gs_guc reload -Z datanode -N all -I all -h "host all all 0.0.0.0/0 md5"
gs_om -t stop && gs_om -t start
最佳回答