File "app.py", line 38, in
conn = psycopg2.connect(host="localhost", port="5432", user="Shubham", password="", dbname="evoc_core")
File "C:\Program Files\Python36\lib\site-packages\psycopg2_init_.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Using Command Line
python app.py
and any way howto start it sir?