PostgreSQL远程
find / -name "postgresql.conf"
改两个文件
/etc/postgresql/14/main
postgresql.conf 修改
listen_addresses = '*'
pg_hba.conf 添加一行
host all all 0.0.0.0/0 trust
或者
https://blog.csdn.net/a654540233/article/details/115458860