allow connection postgres code example
Example 1: postgresql allow remote connections
listen_addresses = '*'
Example 2: postgresql allow remote connections
listen_addresses = 'localhost'
listen_addresses = '*'
listen_addresses = 'localhost'