【发布时间】:2016-05-18 16:08:46
【问题描述】:
当我尝试连接到远程云上的 Postgres 时。它正在显示:
psql: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
本地系统 -- Postgres 9.3 (windows)
远程系统在 Azure -- Postgres 9.2(centos)
我正在使用的命令:psql -h "abc.cloudapp.net" -p 5432
我已在 azure 中将端点设置为 5432
将 postgresql.conf 更改为“*”以允许连接
并将 pg_hba 更改为 (host all all ip/24 md5)
请帮我解决这个问题。
【问题讨论】:
标签: postgresql azure centos