Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Amauri PimentaDate: 2004-12-30 16:05:13
Subject: Re: Not connect to server!
Previous:From: Scott MarloweDate: 2004-12-30 14:20:06
Subject: Re: Not connect to server!

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group