Hi, 

I cant connect to postgre server, on the network with pgadminIII ?

Can anyone help with some idea ?

Forum: 
Liraz Siri's picture

By default we configure appliances not to allow external connections to the database for security reasons. You'll need to change the PostgreSQL configuration to allow that if you want to connect with an external client.

Thank you Liraz for info,

i will try to play with postgres config files to allow '*'  connections

not only localhost .. i think that would be enough .. 

 

.kp

 .k.p.

Alon Swartz's picture

This might help...

Configure postgres to listen for remote connections

CONF=/etc/postgresql/8.3/main/postgresql.conf
sed -i "s/#listen_addresses = 'localhost'/listen_addresses = '*'/" $CONF

Configure postgres to accept remote connections

# configure postgres to accept remote connections
cat >> /etc/postgresql/8.3/main/pg_hba.conf <<EOF
# Accept all IPv4 connections - CHANGE THIS!!!
host    all         all         0.0.0.0/0             md5
EOF

Add new comment