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: (view raw or whole 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 "" 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 

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 

Jason Dixon
DixonGroup Consulting

In response to


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-2015 The PostgreSQL Global Development Group