Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1haiz9-00081F-44 for pgsql-es-ayuda@arkaria.postgresql.org; Tue, 11 Jun 2019 15:46:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1haiz6-0004Cy-VM for pgsql-es-ayuda@arkaria.postgresql.org; Tue, 11 Jun 2019 15:46:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1haiz6-0004Co-G3; Tue, 11 Jun 2019 15:46:52 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1haiz2-0003T6-9V; Tue, 11 Jun 2019 15:46:51 +0000 Received: by mail-wm1-x336.google.com with SMTP id h19so2247232wme.0; Tue, 11 Jun 2019 08:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UFA8Jdo8SI4Rhd60uzl6S283DpYVE/zL6QsBN0YLc3c=; b=AwVItp5gEP49CG5hrVYvhTIseR3TgOnaDzv+0lZSVOmw4G6zDHNzyFgebvo3+Jqy6p Vr/ITEKwX4rXNDF+UzkdWJ8giM2GGGn6NnzVtUdc261I1LO46y0vOgWQy4FVjaBy7+W/ owQDU/JOwYBzg2fBWR0tNmNAHgRGkQoXKwy1hAMDNo1TCcu6AocKaQKlyRrb6+eVUD3m dqKSvWR5HTwF/8E5IDeZsIoLBrtPIk2fjTVerQHZUzXcHt7ftyaXIjKBiTbx3Qrf+pen Y7x9CGEudd7bafLFpVRz8vMbphRrfEXDybcXcr7eFsgZwRGyX6jOcgMvkWvrPx3F1+pM Z5pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UFA8Jdo8SI4Rhd60uzl6S283DpYVE/zL6QsBN0YLc3c=; b=G/1r7sFWnLerAcb3yRT8ElxaUq6AzRbGeE0cCzaBq4n2kdOr2BPxHfQmuDuvs0c9va u56Kc3FYZpz8UtWIwzfIDJAHSX29hGSGbCy/0H0FgOi5D8x5NC/kjmdn8AEtRHZXGanX XfIsLJGy36SJsRBd0FvsyqiLWacwjraa3u5DGgtrVBMlkz8hqED5od8xG8EG7/ipMU2L uo6YIwxY0oGdpBKEJekfOy+e8YiHrFCocDgbUBMX+uCAEeoANS6z+kbB27I6VW8fuhwp ZV4q0Mk3R31y0g9Y+NVom0OgG1apzR0kZ/1268pihPlGjNEBRa7TBPRNOTWb8kjz2eCa eRmA== X-Gm-Message-State: APjAAAX7hpfgEl20qXoLLh8FuUxO7m6Tb0IseS+NvJtoUTAVjpe4CPu0 GzKORheOulXuw+9+iKOjgzhfUzCDlxsOjxY3lG0= X-Google-Smtp-Source: APXvYqyDSACzJ/s96R00tOETemDrWLYowzJqnyXgaykv424GxdKJk1Mxc/epXkrsLx5LpFBNrpy6WeLnPVd074hMtIQ= X-Received: by 2002:a7b:c344:: with SMTP id l4mr17873736wmj.25.1560268006552; Tue, 11 Jun 2019 08:46:46 -0700 (PDT) MIME-Version: 1.0 References: <5a21de4ac9c1e611df4a82f1a33b819c@etecsa.cu> In-Reply-To: From: Manuel Garcia Date: Tue, 11 Jun 2019 12:46:35 -0300 Message-ID: Subject: =?UTF-8?Q?Re=3A_=5BMASSMAIL=5DAyuda_T=C3=A9cnica?= To: =?UTF-8?Q?Departamento_Soporte_T=C3=A9cnico?= Cc: "pgsql-es-ayuda@postgresql.org" , postgres admin Content-Type: multipart/alternative; boundary="00000000000048f7db058b0e34c4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000048f7db058b0e34c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hola, utiliza el comando netstat -nptl para saber si tu servidor esta com la ip y la puerta como listen puedes tentar dar un status en el servicio de postgersql o ver el log para mas informaciones te dejare un ejemplo basico de configuracion del postgresql.conf listen_addresses =3D '8.8.8.8' port =3D 5432 max_connections =3D 100 superuser_reserved_connections =3D 3 unix_socket_directories =3D '/var/run/postgresql' unix_socket_permissions =3D 0777 El mar., 11 jun. 2019 a las 12:15, Departamento Soporte T=C3=A9cnico (< mateosatian@hotmail.com>) escribi=C3=B3: > Estimado es un ejemplo la Ip 8.8.8.8, por temas de seguridad no puedo > publicar la Ip real . > pero esa es la IP sel servidor Postgresql > > ----- > Unable to connect to server: > > could not connect to server: Connection refused > Is the server running on host "8.8.8.8" and accepting > TCP/IP connections on port 5432? > ----- > > ------------------------------ > *De:* Juan Jos=C3=A9 Santamar=C3=ADa Flecha > *Enviado:* martes, 11 de junio de 2019 10:02 > *Para:* Departamento Soporte T=C3=A9cnico > *Cc:* gilberto.castillo@etecsa.cu; postgres admin > *Asunto:* Re: [MASSMAIL]Ayuda T=C3=A9cnica > > > On Tue, Jun 11, 2019 at 4:12 PM Departamento Soporte T=C3=A9cnico < > mateosatian@hotmail.com> wrote: > > Ahora tengo este problema: > Unable to connect to server: > > could not connect to server: Connection refused > Is the server running on host "8.8.8.8" and accepting > TCP/IP connections on port 5432??? > > En la pg_hba.conf y * postgresql.conf* ya puse esa direccion. ?? > > > La direcci=C3=B3n IP tiene que ser la que utilice el servidor de Postgres= , > =C2=BFrealmente est=C3=A1s trabajando con 8.8.8.8? > > Esta es una lista para mensajes en ingl=C3=A9s. La lista en espa=C3=B1ol = es < > pgsql-es-ayuda@postgresql.org>, por favor dir=C3=ADgete ah=C3=AD si neces= itas m=C3=A1s > ayuda. > > Un saludo, > > Juan Jos=C3=A9 Santamar=C3=ADa Flecha > --=20 Manuel Alejandro Garcia Mellado Ingeniero Ejecuci=C3=B3n en Inform=C3=A1tica e computaci=C3=B3n Concepcion - Chile VIII Region del Bio - Bio --00000000000048f7db058b0e34c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hola,

utiliza el comando=C2=A0netstat -= nptl para saber si tu servidor esta com la ip y la puerta como listen puede= s tentar dar un status en el servicio de postgersql o ver el log para mas i= nformaciones
te dejare un ejemplo basico de configuracion del postgresq= l.conf

listen_addresses =3D '8.8.8.8'
p= ort =3D 5432 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0=C2=A0
max_connections =3D 100=C2=A0
superuser_r= eserved_connections =3D 3=C2=A0
unix_socket_directories =3D '/var/ru= n/postgresql'
unix_socket_permissions =3D 0777



El mar., 11 jun. 2019 a las 12:15, Departamento Sop= orte T=C3=A9cnico (<mateosati= an@hotmail.com>) escribi=C3=B3:
Estimado es un ejemplo la Ip 8.8.8.8, por temas de seguridad no puedo publi= car la Ip real .
pero esa es la IP sel servidor Postgresql

-----
Unable to connect to server:

could not connect to server: Connection refused
Is the server running on host "8.8.8.8" and accepting
TCP/IP connections on port 5432?
-----


De: Juan Jos=C3=A9 Santamar=C3=ADa Flecha <juanjo.santamaria@gmail.com>
Enviado: martes, 11 de junio de 2019 10:02
Para: Departamento Soporte T=C3=A9cnico
Cc: gilberto.castillo@etecsa.cu; postgres admin
Asunto: Re: [MASSMAIL]Ayuda T=C3=A9cnica
=C2=A0

On Tue, J= un 11, 2019 at 4:12 PM Departamento Soporte T=C3=A9cnico <mateosatian@hotmail.com&= gt; wrote:
Ahora tengo este problema:
Unable to connect to server:

could not connect to server: Connection refused=
Is the server running on host "8.8.8.8" and = accepting
TCP/IP connections on port 5432???

En la pg_hba.conf y= postgresql.conf=C2=A0 ya puse esa direccion. ??


La direcci=C3=B3n IP tiene que ser la que utilice el servidor de Postg= res, =C2=BFrealmente est=C3=A1s trabajando con 8.8.8.8?

Esta es una lista para mensajes en ingl=C3=A9s. La lista en espa=C3=B1= ol es <pgsql-es-ayuda@postgresql.org>, por favor dir=C3=ADgete ah=C3=AD s= i necesitas m=C3=A1s ayuda.

Un saludo,

Juan Jos=C3=A9 Santamar=C3=ADa Flecha


--
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Manuel = Alejandro Garcia Mellado=C2=A0
Ingeniero=C2=A0Ejecuci=C3=B3n=C2=A0= en=C2=A0Inform=C3=A1tica=C2=A0e=C2=A0computaci=C3=B3n
Concepcion = - Chile VIII Region del Bio - Bio

--00000000000048f7db058b0e34c4--