Re: Not connect to server! - Mailing list pgsql-admin

From Jason Dixon
Subject Re: Not connect to server!
Date
Msg-id FD55A518-5A6F-11D9-A0F9-000D93C63BA8@dixongroup.net
Whole thread Raw
In response to Not connect to server!  (Amauri Pimenta <amauripimenta@gmail.com>)
Responses Re: Not connect to server!
List 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



pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Not connect to server!
Next
From: Amauri Pimenta
Date:
Subject: Re: Not connect to server!