Problem connecting to postgres

From: "solo" <solo(at)zoot(dot)dnsalias(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Problem connecting to postgres
Date: 2001-04-26 18:25:15
Message-ID: MGEFINBANPDICJGALBLCIEKGCAAA.solo@zoot.dnsalias.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm having a problem when i try to connect to the database.
If i use the -h option to specify the hostname it always fails to connect.

[solo(at)zoot /root]$ psql -h localhost
Connection to database 'solo' failed.
connectDB() -- unknown hostname: localhost

My localhost is configured properly

[root(at)zoot /root]# ping -c 1 localhost
PING localhost.dnsalias.net (127.0.0.1) from 127.0.0.1 : 56(84) bytes of
data.
64 bytes from localhost (127.0.0.1): icmp_seq=0 ttl=255 time=0.3 ms

--- localhost.dnsalias.net ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.3 ms

Any ideas?

Kind Regards

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jie Liang 2001-04-26 18:38:21 random rows
Previous Message Ing. Roberto Andrade Fonseca 2001-04-26 18:12:14 Re: random rows