Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? What does your pg_hba.conf look like? Did you enable TCP/IP connections in postgresql.conf ? On Wed, 26 Jan 2005 10:04:35 -0500, Danny Lu <comtpig@xxxxxxxxxxx> 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? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman netllama@xxxxxxxxx LlamaLand http://netllama.linux-sxs.org ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly