RE: Conexión al local host del servidor

From: "Javier Carlos" <nediam(at)nediam(dot)com(dot)mx>
To: "Roberto Aguirre" <raguirre(at)infonegocio(dot)net(dot)pe>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: RE: Conexión al local host del servidor
Date: 2006-05-08 03:27:05
Message-ID: 64293.200.95.155.150.1147058825.squirrel@mail.nediam.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Qué es exactamente lo que escribes para que te dé el error que nos
dices: "could not connect to server: Connection
refused(0x0000274D/10061) Is the server running on host "127.0.0.1"
and accepting TCP/IP connections on port 5432?"

> Como verifico de q manera me conecto al server a (psql -h 127.0.0.1
> template1) o b(psql template1)?
>
>
> -----Mensaje original-----
> De: pgsql-es-ayuda-owner(at)postgresql(dot)org
> [mailto:pgsql-es-ayuda-owner(at)postgresql(dot)org] En nombre de Javier Carlos
> Enviado el: Domingo, 07 de Mayo de 2006 04:21 p.m.
> Para: Roberto Aguirre
> CC: pgsql-es-ayuda(at)postgresql(dot)org
> Asunto: Re: [pgsql-es-ayuda] Conexión al local host del servidor
>
>
> Reiniciaste el server despúes de hacer los cambios al pg_hba.conf?
>
> Te estás tratando de conectar a tu localhost de qué manera:
>
> a) psql -h 127.0.0.1 template1
>
> b) psql template1
>
> Si lo estás haciendo de la segunda manera, entonces también necesitas
> agregar a tu pg_hba.con la siguiente línea:
>
> local all all md5
>
>
> Saludos,
>
> Javier
>
>
>
>> Hola gente, tengo un problema al conectarme al host para acceder a la
>> base de datos...me sale el sgte error:
>>
>> could not connect to server: Connection refused(0x0000274D/10061) Is
>> the server running on host "127.0.0.1" and accepeting TCP/IP
>> connections on port 5432?
>>
>> El lugar donde van los rangos de IP en el pg_hba.conf lo tengo de la
>> sgte manera
>>
>> # Put your actual configuration here
>> # ----------------------------------
>> #
>> # If you want to allow non-local connections, you need to add more #
>> "host" records. In that case you will also need to make PostgreSQL
>> listen # on a non-local interface via the listen_addresses
>> configuration parameter,
>> # or via the -i or -h command line switches.
>> #
>>
>>
>>
>> # TYPE DATABASE USER CIDR-ADDRESS
>> Roberto dice:
>> #IPv4 local connections:
>> host all all 127.0.0.1/32 md5
>> host all all 192.168.1.0/24 md5
>>
>> Roberto dice:
>> # IPv6 local connections:
>> #host all all ::1/128 md5
>>
>> POR FAVOR, q alguien me diga q puedo hacer para solucionar este
>> problema.
>>
>>
>>
>> ---------------------------(fin del
>> mensaje)---------------------------
>> TIP 3: si publicas/lees desde Usenet, por favor envía
> "subscribe-nomail"
>> a majordomo(at)postgresql(dot)org para que tus mensajes puedan llegar
>> a los suscriptores de la lista
>>
>
>
>
> -------------
> nediam.com.mx
>
>
> ---------------------------(fin del mensaje)---------------------------
> TIP 3: si publicas/lees desde Usenet, por favor envía "subscribe-nomail"
> a majordomo(at)postgresql(dot)org para que tus mensajes puedan llegar
> a los suscriptores de la lista
>
>
>

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Lluís Vicens 2006-05-08 11:30:51 I Jornadas de SIG Libre en Girona, marzo de 2007
Previous Message Espartano 2006-05-07 23:40:48 Re: Conexión al local host del servidor