BUG #2587: Connection problem
The following bug has been logged online:
Bug reference: 2587
Logged by: Sunil Kumar Basu
Email address: sunil_basu@yahoo.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?
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@yahoo.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?
Douglas Toltzman
doug@oakstreetsoftware.com
(910) 526-5938