Postgrex.Protocol(#PID< 0.226.0>)无法连接:

时间:2017-05-28 20:38:02

标签: phoenix-framework

我刚刚开始学习Phoenix,在输入mix phoenix.server后我遇到了以下错误:

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

但是,当我运行localhost:400

时,网站运行正常

0 个答案:

没有答案