服务器是否在主机“ localhost”上运行?

问题描述

我对postgresql有问题。我看到一些帖子正在编辑pg_hba.conf,但是它不起作用。

这里是问题:

sql

还有我的pg_hba.conf:

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) Could not connect to server: Connection refused (0x0000274D/10061)
        Is the server running on host "localhost" (::1) and accepting
        TCP/IP connections on port 32?
Could not connect to server: Connection refused (0x0000274D/10061)
        Is the server running on host "localhost" (127.0.0.1) and accepting
        TCP/IP connections on port 32?

如果有人可以向我解释,我不明白这是什么问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)