lnmp网站开发,盐城做网站多少钱,百度推广页面投放,策划推广活动方案1、数据库服务器允许外部访问5432端口。
2、postgresql.conf 3、pg_hba.conf
a、制定某个IP#xff08;192.168.0.107#xff09;访问
b、指定ip段访问 允许10.1.1.0~10.1.1.255网段登录数据库 host all all 10.1.1.0/24 trust
c、指定全网访问 host a…1、数据库服务器允许外部访问5432端口。
2、postgresql.conf 3、pg_hba.conf
a、制定某个IP192.168.0.107访问
b、指定ip段访问 允许10.1.1.0~10.1.1.255网段登录数据库 host all all 10.1.1.0/24 trust
c、指定全网访问 host all all 0.0.0.0/0 trust
修改配置后要重启数据库
systemctl restart postgresql-14
systemctl status postgresql-14