Allow Remote Connections to PostgreSQL

Configures PostgreSQL to accept connections from remote hosts by editing postgresql.conf (listen_addresses) and pg_hba.conf (host auth rules). Restart required after changes.

When you need this: When an application on another server needs to connect to PostgreSQL, or for dev tools like TablePlus.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.