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

Re: BUG #2929: Error opening 5432 port

From: "James Becerra" <jbecerra(at)cideim(dot)org(dot)co>
To: "'Stefan Kaltenbrunner'" <stefan(at)kaltenbrunner(dot)cc>
Cc: <pgsql-bugs(at)postgresql(dot)org>,"'Alejandra Chamorro'" <achamorro(at)cideim(dot)org(dot)co>
Subject: Re: BUG #2929: Error opening 5432 port
Date: 2007-01-25 14:33:14
Message-ID: 001001c7408d$bf619bc0$c810a8c0@cideim.lan (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Good Morning,

I suppose it was the problem, but to solve this, I have disabled the windows
firewall.  I am worried because I have a server with windows 2003 server
running and sql server 2005 and IIS and PHP and Postgres 8.1, I tried to
connect locally but the problem is the same, I installed the same version of
Postgres in other computer and it works good, I made a copy of the folder on
my server and I replaced the new Postgres installation in the other
computer, and it the new computer still working good, but I couldn’t see the
data bases. I know the Postgres data files folder but it is invisible to new

How I can solve this problem with this port. I stopped the Postgres service
in my server, and I started it again, I have restarted the server, I’ve
configured the Postgres configuration files manually, and disable the
firewall and the problem persists.

What happened with my server, time ago the Postgres 8.1 had worked perfect,
and 2 days ago it leaves.
I used the command “net stat –a” to see the ports and I can not find 5432


James Humberto Becerra Ramirez 
Data Manager
ICIDR - Data Management Core 
jbecerra(at)cideim(dot)org(dot)co / jameshbr(at)gmail(dot)com 
CIDEIM - Centro Internacional De Entrenamiento e Investigaciones Médicas 


Este mensaje y/o sus anexos son para uso exclusivo de CIDEIM. Puede contener
información legalmente protegida por ser privilegiada o confidencial. Si
usted no es el destinatario intencional del mensaje, por favor infórmenos de
inmediato y elimine el mensaje y su anexos de su computador y sistema de
comunicaciones. Igualmente, le comunicamos que cualquier retención, revisión
no autorizada, distribución, divulgación, reenvío, copia, impresión,
reproducción o uso indebido de este mensaje y/o anexos, esta estrictamente
prohibida y sancionada legalmente

-----Original Message-----
From: Stefan Kaltenbrunner [mailto:stefan(at)kaltenbrunner(dot)cc] 
Sent: Miércoles, 24 de Enero de 2007 03:59 p.m.
To: James Becerra
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #2929: Error opening 5432 port

James Becerra wrote:
> The following bug has been logged online:
> Bug reference:      2929
> Logged by:          James Becerra
> Email address:      jbecerra(at)cideim(dot)org(dot)co
> PostgreSQL version: 8.1
> Operating system:   Windows 2003 Server
> Description:        Error opening 5432 port
> Details: 
> Hi,
> Let me explaint my problem.
> I usually work with postgres, but i dont know how it happend, this error
> doesnt permit to run my php aplications.
> could not connect to server: Connection refused (0x0000274D/10061) Is the
> server running on host "" and accepting TCP/IP connections on
> 5432? 

well this simple means that you are trying to connect to localhost on
port 5432 and there is either nothing listening there or you have a
firewall blocking the request.
Have you checked that the postgresql service(from that error message I
assume you are running windows) is actually running and configured to
listen on that interface (it should be by default but somebody might
have changed that.
Another possibility would be some kind of firewall that is blocking the
request - if you have something like that you could try to disable it


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.410 / Virus Database: 268.17.8/649 - Release Date: 23/01/2007

In response to


pgsql-bugs by date

Next:From: Magnus HaganderDate: 2007-01-25 14:46:50
Subject: Re: Troubles in Initializing Postgres Database 8.2
Previous:From: Magnus HaganderDate: 2007-01-25 13:13:24
Subject: Re: BUG #2893: Non-standard theme explodes the installer.

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