Thread: BUG #2025: i can conect to the server

BUG #2025: i can conect to the server

From
"edgar garcia"
Date:
The following bug has been logged online:

Bug reference:      2025
Logged by:          edgar garcia
Email address:      edgar_gl@hotmail.com
PostgreSQL version: 8
Operating system:   Windows xp
Description:        i can conect to the server
Details:

when try to connect with tiny application, show a error connection.
Are ther some ficxes to connect.
I selected :
Port port 5443
host localhost
And the error is :
could not connect to server. Connection Refused
The server run in the same machine.

EGLO

Re: BUG #2025: i can conect to the server

From
Richard Huxton
Date:
edgar garcia wrote:
> Bug reference:      2025
> Operating system:   Windows xp
> Description:        i can conect to the server

> when try to connect with tiny application, show a error connection.
> Are ther some ficxes to connect.
> I selected :
> Port port 5443

You mean 5432 here don't you?

> host localhost
> And the error is :
> could not connect to server. Connection Refused
> The server run in the same machine.

It's one of:
1. Your server is not running on that machine.
2. It isn't listening on the port you have given.
3. A firewall or similar is blocking access to it.
4. Your application isn't connecting to the right port etc.

For each:
1. Check your services - is PG running?
2. Check your postgresql.conf - what does it say about ports/interfaces?
3. Check your system/firewall logs
4. Try connecting from psql/pgadmin.

Once you have done this, post a question to the general or novice
mailing lists - this is unlikely to be a bug in PostgreSQL.
--
   Richard Huxton
   Archonet Ltd