Re: Not connect to server!

From: Jason Dixon <jason(at)dixongroup(dot)net>
To: Amauri Pimenta <amauripimenta(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Not connect to server!
Date: 2004-12-30 14:35:02
Message-ID: FD55A518-5A6F-11D9-A0F9-000D93C63BA8@dixongroup.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Dec 30, 2004, at 8:46 AM, Amauri Pimenta wrote:

> Hello!
>
> Well, i just try to connect to server, but without successfull!
>
> the error is "Is the server running on host "172.22.0.23" and
> accepting TCP/IP Connections on port 5432?"

First, check for a listening port:

netstat -vant | grep 5432

If you don't get any responses, then you'll probably need to edit your
postgresql.conf:

tcpip_socket = true

Mine is located at /var/lib/pgsql/data/postgresql.conf, your location
may vary. Then do a pg_ctl reload to effect the changes. Hope this
helps!

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Amauri Pimenta 2004-12-30 16:05:13 Re: Not connect to server!
Previous Message Scott Marlowe 2004-12-30 14:20:06 Re: Not connect to server!