How to fix this error – Elixir Phoenix: ** (DBConnection.ConnectionError) tcp connect (localhost:5432): connection refused – :econnrefused


Has been rather a while since I last blogged.  And this update is rather technical so if you’re not into databases or Elixir programming, look away.

Largely documenting a solution to a rather cryptic error I encountered setting up a PostgreSQL database on Elixir Phoenix. Hope it helps someone!

Continue reading