Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #connect #Connection #refused #Is #server #running #host #accepting #connections #port
ADD COMMENT
Topic
Name
4+2 =