postgres DB に接続できず、ssh と psql 経由で DB に接続しようとすると、次のメッセージが表示されます。
psql: could not connect to server: Connection refused
Is the server running on host "<GEAR_ID>-<NAMESPACE>.rhcloud.com" (<IP_ADDRESS>) and accepting
TCP/IP connections on port <PORT_NUMBER>?
rhc app show --state を実行すると、以下が出力されます。
Cartridge jbossas-7, haproxy-1.4 is started
Cartridge postgresql-9.2 is started
また、 rhc app show を実行しても異常はありません。
上記の IP_ADDRESS と POST_NUMBER に telnet で接続できません。これは、2 つの歯車の間で通信が切断されたようです。
何か案は?