【发布时间】:2020-02-14 17:56:12
【问题描述】:
我在我的网络服务器(ubuntu + nginx)上使用 postgresql 数据库,它适用于后端应用程序。我想使用 pgAdmin 远程连接 但它总是抛出这个错误:
could not connect to server: Connection timed out(0x0000274C/10060)
Is the server running on host "ip" and accepting
TCP/IP connections on port 5432?
我已经在我的 pg_hba.conf 中添加了这一行:
host all all all密码
并添加到 postgresql.conf 行:
listen_addresses = '*'
netstat -nlt 执行下一个结果,在我找到的教程中已经足够了,但仍然无法访问我的数据库
【问题讨论】:
标签: postgresql nginx