会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
CrossPython
博客园
首页
新随笔
联系
管理
2023年10月17日
Ubuntu下PostgreSQL开启远程访问(解决postgresql 端口不对外开放问题)
摘要: 修改配置文件:sudo vim /etc/postgresql/9.5/main/pg_hba.conf,在文件中添加 host all all 0.0.0.0/0 md5。 all :匹配任何IP地址。 0.0.0.0/0:对于所有IPv4地址,允许任何ip地址以任何用户身份连接任何数据;::0/
阅读全文
posted @ 2023-10-17 19:28 CrossPython
阅读(347)
评论(0)
推荐(0)
编辑
公告