@H_502_4@
我的应用程序已经崩溃,因为它无法连接到postgres数据库,当我尝试通过ssh和psql连接到数据库时,我得到以下消息:
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 prints:
Cartridge jbossas-7,haproxy-1.4 is started Cartridge postgresql-9.2 is started
另外,运行rhc app show显示没什么异常.
我无法telnet到上面的IP_ADDRESS& POST_NUMBER,看起来两个齿轮之间的通信已经断开了.
有任何想法吗?
@H_502_4@