text 如何允许远程连接到本地开发PostgreSQL服务器?

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 如何允许远程连接到本地开发PostgreSQL服务器?相关的知识,希望对你有一定的参考价值。

How to allow remote connections to your local development PostgreSQL server?
Find the pg_hba.conf file for your local development PostgreSQL server instance.
If you know the PostgreSQL base directory then typically this conf file will be in (base)/PostgreSQL/9,0/data/pg_hba.conf

If you don't know the base directory, then use Windows File Search, or with Cygwin try find . -type f | grep pg_hba.conf

Add the following line at the bottom of your pg_hba.conf file

host all all xxx.xxx.xxx.x/24 trust

以上是关于text 如何允许远程连接到本地开发PostgreSQL服务器?的主要内容,如果未能解决你的问题,请参考以下文章

允许 docker 容器连接到本地/主机 postgres 数据库

禁用“允许远程连接到此服务器”后,我仍然可以从另一台机器连接

win2012如何允许PowerShell远程连接到本机 有图

fastdfs能在本地远程连接到服务器吗?

如何使用远程桌面连接到 SQL Server

如何将 datastax 开发中心连接到亚马逊 EC2 实例中的远程集群?