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

Re: BUG #2587: Connection problem

From: Douglas Toltzman <doug(at)oakstreetsoftware(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2587: Connection problem
Date: 2006-08-22 18:37:56
Message-ID: 73C52A6A-8BF0-4F1F-AF9A-9F0851919FC9@oakstreetsoftware.com (view raw or flat)
Thread:
Lists: pgsql-bugs
This probably isn't a bug.  Make sure your database server is  
configured to use TCP/IP and that there is no firewall blocking  
connections.

On Aug 22, 2006, at 8:20 AM, Sunil Kumar Basu wrote:

>
> The following bug has been logged online:
>
> Bug reference:      2587
> Logged by:          Sunil Kumar Basu
> Email address:      sunil_basu(at)yahoo(dot)com
> PostgreSQL version: 8.0
> Operating system:   Windows XP
> Description:        Connection problem
> Details:
>
> Hi,
>
> I am installed PostgreSQL 8.0 database server on PC1. And is  
> accessing the
> database from a Delphi application running on PC2. I am using the  
> TCP/IP
> connection protocol for connecting to the database via the network.  
> I have
> edited the pg_hba.conf file and postgresql.conf file after reading the
> documentation.
>
> But I am unable to connect. If I am running the Delphi application  
> on PC1
> and use the host name as localhost, then I am getting connected.  
> But in the
> same machine if I use the IP address of PC1, then I get the same  
> connection
> error-
>
> PostgreSQL Error code(1)
> Could not connect to the server: Connection refused (0x0000274D/10061)
> Is the server running on host "192.168.5.45" and accepting TCP/IP
> connections on port 5432?
>
> Can you please help me out?
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq

Douglas Toltzman
doug(at)oakstreetsoftware(dot)com
(910) 526-5938



In response to

pgsql-bugs by date

Next:From: Alvaro HerreraDate: 2006-08-22 18:57:54
Subject: Re: BUG #2585: Please provide pkg-config support
Previous:From: Luiz HenriqueDate: 2006-08-22 11:21:28
Subject: Re: referential integrity violation - key referenced from

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