解决:windows环境下,postgresql数据库,localhost可以连接,ip地址连接不了。

 

解决办法:

  1、打开postgresql安装目录下的配置文件 pg_hba.conf

                解决postgresql数据库localhost可以连接,ip连接不了的问题

  2、在pg_hba.conf 中,添加本地ip配置

     解决postgresql数据库localhost可以连接,ip连接不了的问题

  3、重新连接即可

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-10-14
  • 2021-04-15
  • 2022-01-30
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2021-08-28
  • 2021-06-16
  • 2021-08-03
  • 2022-12-23
相关资源
相似解决方案