Thank you. It was my Zone Alarm firewall. I turned it off, and it worked.
I originally thought that the firewall was not the problem, because it was letting the other clients connect.
Strange thing though --- when I turned ZA back on, it let psql run. I found that it had created a rule saying psql was OK. bizarre.
User Profile
Collapse
-
psql won't connect, though other clients are OK
Hello -
I'm running PG 8.1 on Windows XP.
I've installed the server to run as a service.
The psql command fails to connect to the server, although I can connect with other clients.
When I enter psql -d mydb -h localhost -U admin
I get the following response:
psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost"...
No activity results to display
Show More
Leave a comment: