如何允许远程访问postgresql 11?

时间:2019-02-28 09:33:55

标签: postgresql

如何允许远程访问Postgresql 11(CentOS 7)?

我在下面尝试过

/var/lib/pgsql/data

== postgresql.conf ==

listen_addresses = '*'

== pg_hba.conf ==
host    all             all              0.0.0.0/0                       md5
local   all     all     trust
host    all     all     0.0.0.0/0       trust

我还允许firewalld和iptables中的端口5432

但仍然无法从我的笔记本(10.100.100.188)访问它。.

有人对此有经验吗?

非常感谢

问候 唐

0 个答案:

没有答案
相关问题