Connection to localhost:5432 refused.
Check that the hostname and port are correct and the postmaster is accepting TCP/IP connection.
Could you please help me to resolve this error
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 9, 2022, 5:10 AM EDT
Vishal YelveRank #178 · 13.6K reputationPosted Sep 9, 2022, 4:21 AM EDT