Skip to Content
Menú
This question has been flagged
1 Respondre
1058 Vistes

Database creation error: 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?

Avatar
Descartar
Best Answer

Hi,

You have to ensure that the PostgreSQL is up and running and ready to accept any connection. You can see the postgresql status by entering following command in the terminal: 

sudo service postgresql status


If you postgres is running and still you have same address verify following


* postgres connections values set in the odoo conf file, db_host, db_port and password 
* listen_addresses in postgresql conf


Thanks

Avatar
Descartar