I am using NAAF 5.6 . I am getting the following error

OperationalError (psycopg2.OperationalError) could not connect to server: Connection refused / Is the server running on host "127.0.0.1" and accepting / TCP/IP connections on port 5432? / (Internal Server Error)
.

Even though I can access URL.