From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Danny Lu <comtpig(at)hotmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: how come I get this error message when I try to connect |
Date: | 2005-01-26 15:26:56 |
Message-ID: | 41F7B6C0.7020700@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Danny Lu wrote:
> Hello all,
> I am running Postgresql 8.0.0 on Windows 98. When I try to connect to
> the database with
> psql.exe using "psql.exe -h localhost -p 5432 template1 postgres" I get
> an error message like this:
>
> PSQL: could not connect to server: Connection refused (0x0000274D/10061)
> Is the server running on host "localhost" and accepting
> TCP/IP connections on port 5432?
I'm not sure PG is supposed to work on Windows 98, so take care.
Having said that, there are three things to check:
1. Is the backend process running?
2. Does the logfile say anything interesting (connection failed etc)?
3. If you open a console, "telnet localhost:5432" type "A" and hit
return a couple of times do you get an error message back?
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2005-01-26 15:27:27 | Re: Problem with NOT IN and Sub-Select |
Previous Message | Robby Russell | 2005-01-26 15:26:36 | Re: Extended unit |