【发布时间】:2020-01-23 08:23:05
【问题描述】:
我在我的 Windows Server 2019 上运行 PostgreSQL。我已经将 postgresql.conf 中的设置更改为 listen_addresses = '*'。我还将 pg_hba.conf 更改为 host all all 192.168.1/32 trust。当我尝试使用笔记本电脑上运行的 VS 代码进行连接时,我不断收到连接失败错误。 我的问题是我是把我的服务器的 IP 地址放在“服务器名称”部分还是把 127.0.0.1:xxxxx
【问题讨论】:
标签: database postgresql visual-studio-code windows-server