Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 27839  / 2 Years ago, sat, march 12, 2022, 6:03:52

After the successful import of the ssh keypairs, the bootstrap generates this error.



Can anyone help me?



connection_factory=connection_factory, async=async)
psycopg2.OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?


I have tried:




  • Ensuring PostgreSQL is installed and running via: 'sudo service postgresql start`



This errors appears how i running 'sudo apt-get update'.


More From » juju

 Answers
5

It looks like postgres is not running or not installed.



Try:



sudo service postgresql start

[#29501] Sunday, March 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sconhoney

Total Points: 403
Total Questions: 118
Total Answers: 109

Location: Andorra
Member since Mon, Jan 9, 2023
1 Year ago
sconhoney questions
;