Answers for "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 6001?"

0

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?

# to over ride this error you should up and run server
service postgresql start
Posted by: Guest on December-13-2020
0

(psycopg2.OperationalError) could not connect to server: Connection refused

pg_ctl -D /usr/local/var/postgres restart
Posted by: Guest on October-08-2021

Code answers related to "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 6001?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language