Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Many thanks to you for putting it together and to the forum members for taking the time to post their replies and give their time to help others. Their isn't another site that can touch it..."

Geography

Where in the world do Tek-Tips members come from?

problem to connect local pgAdmin III to remote postgres serve

gdhia (TechnicalUser)
8 May 12 7:28
Hi all,

I have a Debian server on which is installed Postgresql, with a database.

I have installed pgAdmin III on my computer (Win 7) and I try to communicate with postgres on my server to display it.

on my server, using this code tells me the DB installed:

CODE

postgres=# select datname from pg_database;
  datname  
-----------
 template1
 template0
 postgres
(3 rows)

I checked on my server that posgres is listening on port 5432:

CODE

tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      4998/postgres

the firewall do not block his incoming connections:

CODE

ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:postgresql

the service is running:

CODE

8.3     main      5432 online postgres /var/lib/postgresql/8.3/main       /var/log/postgresql/postgresql-8.3-main.log

postgresql.conf has the changed value:

CODE

#listen_addresses = '*'

and despite all this, pgAdmin III gives me:

CODE

could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "xx.xx.xx.xx" and accepting TCP/IP connections on port 5432?

Could anyone help me connect the postgresql server installed on my Debian server via pgAdmin III installed on my pc?

Thanks in advance  

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close