【发布时间】:2014-06-17 15:08:29
【问题描述】:
我在复制模式下设置了一个 pgpool,看门狗有一个虚拟 IP(未使用的 IP)。 pgpool 和看门狗启动成功完成。
使用指定 IP 192.168.143.95 创建虚拟 eth0:0 接口。 pgPool 配置为在 5432 端口运行
当尝试连接到虚拟 IP:port 时,psql 命令psql -h 192.168.143.95 -p 5432 -l 说
psql: could not connect to server: Connection refused
Is the server running on host "192.168.143.95" and accepting
TCP/IP connections on port 5432?
显然,虚拟 IP 地址的任何端口上都没有侦听套接字。 有没有人有类似的工作配置? 虚拟 IP 地址是否有一些未指定的要求(例如与 pgpool 接口相同的子网)?
我将感谢任何关于为什么这可能不起作用的建议。
非常感谢
【问题讨论】: