Answers for "psql: error: could not connect to server: connection refused is the server running on host "localhost" (::1) and accepting tcp/ip connections on port 5432?"

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
-1

[08001] Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. java.net.ConnectException: Connection refused: connect.

org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Posted by: Guest on December-25-2020

Code answers related to "psql: error: could not connect to server: connection refused is the server running on host "localhost" (::1) and accepting tcp/ip connections on port 5432?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language