El día 16 de abril de 2009 1:44, B CfaS <[email protected]> escribió:
> Que tal,
> podrian ayudarme con un error que me sale en una web??
> Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL
> server: could not connect to server: Connection refused Is the server
> running on host "localhost" and accepting TCP/IP connections on port 5432?
> in/home/webmaster/dircons.com.mx/html/utilerias/db.phpon line 19
> Debo activar postgresql donde tengo hospedada la pagina? ¿como?
> gracias por la ayuda, nunca he usado postgresql, solo mysql y sql2005
> saludos
>
> ________________________________
> Actualiza tu Perfil de Windows Live y cuéntale al mundo quién eres


Este es el error típico de cuando no está editado el pg_hba.conf  y el
postgresql.conf para permitir conexiones remotas.

listen_addresses = '*'

y en el pg_hba.conf tenes que habilitar conexiones para host.

-- 
      Emanuel Calvo Franco
        Sumate al ARPUG !
      (www.postgres-arg.org -
         www.arpug.com.ar)
    ArPUG / AOSUG Member
   Postgresql Support & Admin
--
TIP 8: explain analyze es tu amigo

Responder a