为什么Phoenix无法连接

问题描述

我正在尝试通过以下方式启动Phoenix应用程序:

$ mix phx.server

它不断告诉我连接被拒绝是这样的:

[error] Postgrex.Protocol (#PID<0.315.0>) Failed to connect: ** (DBConnection.ConnectionError) tcp connect (localhost:5432): connection refused - :econnrefused

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)