Results 1 to 3 of 3

Thread: Release postgresql for Remote Access

  1. #1
    Member robsonwr's Avatar
    Join Date
    Jun 2005
    Location
    Piracicaba - BR
    Posts
    15
    cPanel/WHM Access Level

    DataCenter Provider

    Default Release postgresql for Remote Access

    Good morning friends

    in mysql to release for remote access put%

    postgresql and how?

    postgresql version 8.1 standard cpanel

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Release postgresql for Remote Access

    Hello,

    You can allow remote access for a set IP for postgresql by editing /var/lib/pgsql/data/postgresql.conf file for the following two lines:

    Code:
    #listen_addresses = 'localhost'
    #port = 5432
    Uncomment both lines and then revise the localhost one to listen on another remote IP as well:

    Code:
    #listen_addresses = 'localhost,IP#'
    After that, save the file. Then add the following like to the bottom of /var/lib/pgsql/data/pg_hba.conf file:

    Code:
    host all all 0.0.0.0 0.0.0.0 md5
    After that, restart postgresql in WHM or using "/scripts/restartsrv_postgres" without the quotes in root SSH.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member robsonwr's Avatar
    Join Date
    Jun 2005
    Location
    Piracicaba - BR
    Posts
    15
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Release postgresql for Remote Access

    thanks

    perfect

Similar Threads

  1. Remote PostgreSQL Server
    By Joseph_M in forum Feature Requests for cPanel & WHM
    Replies: 0
    Last Post: 05-13-2011, 10:44 AM
  2. Connect to Remote PostgreSQL
    By 247hostingnz in forum Database Discussions
    Replies: 2
    Last Post: 01-21-2011, 09:36 PM
  3. postgresql remote access?
    By cazny in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 08-15-2007, 02:59 PM
  4. postgresql remote access not working
    By Secret Agent in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-15-2007, 02:57 PM
  5. postgresql remote access
    By webicom in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-15-2007, 02:56 PM