psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
that says it all. Is the postgres service running ? and if it is, whats listen_addresses set to in postgresql.conf ? your system has ipv6 enabled, so listen_addresses should be 'localhost' not just '127.0.0.1'. Or, it could be '*' if you want to listen on all interfaces (eg, allow LAN connections).
--
john r pierce, recycling bits in santa cruz