跳至内容
菜单
此问题已终结
1 回复
1075 查看

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?

形象
丢弃
最佳答案

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

形象
丢弃