LMBTIC

Soluções e Informações em TI e Comunicação

22 Nov 2021

How to enable access 3CX database for integrations

In this article you will learn the how to for enable access in the databe of 3CX in Servers Windows or Linux.


### Access and edit the file adding the line, like show below:

  • Windows: C:\Program Files\3CX Phone System\Data\DB\pg_hba.conf
  • Linux: /etc/postgresql/9.6/main/pg_hba.conf (9.6 3CX v16 and 11 for 3CX v18)

### Access and edit the file of the folder, adding the line in the end of file:

  • Windows: C:\Program Files\3CX Phone System\Data\DB\postgresql.conf
  • Linux: /etc/postgresql/9.6/main/postgresql.conf (9.6 3CX v16 and 11 for 3CX v18)

### Restart the Database or the service of postgresql

### Check the informations for login in Databse in this file:

  • Windows: C:\Program Files\3CX Phone System\Bin\3CXPhoneSystem.ini
  • Linux: /var/lib/3cxpbx/Bin/3CXPhoneSystem.ini (9.6 3CX v16 and 11 for 3CX v18)

### So, finaly, do the access

## If it doesn't work, enable the ports in the network or Windows/Linux firewall rule

 


If you have any questions or if I help you, leave in the comments below. Tks! 😉

Comments: