External Connections for a PostgreSQL Server

By default, a PostgreSQL server doesn't allows external connections.
How to Change this Behavior?

    • Edit pg_hba.conf file
  • Insert the rules for external connections


Example that allows all clients from your network as 192.168.0.1:

# TYPE  DATABASE    USER        CIDR-ADDRESS              METHOD
# IPv4 local connections:
host    all         all         127.0.0.1/32              md5
host    all         all         192.168.0.0 255.255.255.0 password
# IPv6 local connections:
#host   all         all         ::1/128                   md5

 

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Why Migrate from Btrieve to PostgreSQL and other Relational Databases?

Introduction Many independent software vendors (ISV) and corporate users still rely on applications that use a category of database collective called...

Read More
Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

Four Challenges in Converting COBOL Applications from ISAM Databases to Relational Databases

COBOL applications are the foundation of numerous essential business functions, especially within the banking, insurance, and government sectors....

Read More
Application Modernization 101: Ultimate Guide to Digital Transformation

Application Modernization 101: Ultimate Guide to Digital Transformation

Imagine breaking free from the constraints of old, monolithic systems and embracing the agility and innovation of cloud-based solutions.

Read More