I could use some help figuring out what's the problem with running the development server for one of my django projects. When I run python managy.py runserver
, I get an error that ends with this:
OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Never before has anything like this happened to me while working with Django, so I will be very thankful for every possible solution.