微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决服务器是否在主机“ 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 举报,一经查实,本站将立刻删除。