On Thu, 2010-10-21 at 10:35 -0700, Rich Shepard wrote:
> On Thu, 21 Oct 2010, Scott Marlowe wrote:
>
> > So, what do
> >
> > telnet localhost 5432
>
> Scott,
>
> That port's clear:
>
> [rshepard@salmo ~]$ telnet localhost 5432
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
>
> > AND
> > psql -h localhost -l
>
> Huh!
>
> [rshepard@salmo ~]$ psql -h localhost -l
> List of databases
> Name | Owner | Encoding
> -----------+------------+----------
> aesi | sql-ledger | LATIN1
> cms | rshepard | UTF8
> postgres | postgres | UTF8
> refdb | postgres | UTF8
> scirefs | rshepard | LATIN1
> template0 | postgres | UTF8
> template1 | postgres | UTF8
> (7 rows)
>
> So, why can't I connect to a database by entering, for example, 'psql
> aesi'?
>
> Thanks,
>
> Rich
what does
$ netstat -an |grep 5432
return?
something is running on tcp port 5432