PostgreSQL 14.6 远程连接失败 | Ubuntu 20.04.5

问题描述 投票:0回答:0

我在ubuntu 20.04.5上部署了postgreSQL,这一周一直正常使用,今天突然出现如下错误

error message

问题貌似是端口没有打开。但我已经确保端口 5432 已打开并且 postgresql 已正确配置,如下所示。还有,IP是对的。

port 5432 open

pg_hba.conf 和 postgresql.conf

pg_hba.conf

postgresql.conf

我试过打开5432端口,重启服务器和数据库,但是没有用。 有没有人遇到过这个问题?请给我一些建议。

postgresql remote-server ubuntu-20.04
© www.soinside.com 2019 - 2024. All rights reserved.