ya esta agregado esa configuracion: al hacer un netsat -netstat:

tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN      
65529/perl
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      
342/systemd-resolve
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
22169/sshd
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      
47344/mysqld
tcp6       0      0 :::80                   :::*                    LISTEN      
24977/apache2
tcp6       0      0 :::10000                :::*                    LISTEN      
65529/perl
tcp6       0      0 :::8080                 :::*                    LISTEN      
1048/java
tcp6       0      0 :::21                   :::*                    LISTEN      
22567/vsftpd
tcp6       0      0 :::22                   :::*                    LISTEN      
22169/sshd
tcp6       0      0 ::1:3350                :::*                    LISTEN      
16847/xrdp-sesman
tcp6       0      0 :::3389                 :::*                    LISTEN      
16857/xrdp
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      
1048/java
------
agrege a los Iptables:
iptables -A INPUT -i eth0 -p tcp --destination-port 5432 -j ACCEPT
iptables-save -c
----
Pero no refleja...


________________________________
De: Manuel Garcia <garcia.manuel1...@gmail.com>
Enviado: martes, 11 de junio de 2019 10:46
Para: Departamento Soporte Técnico
Cc: pgsql-es-ay...@postgresql.org; postgres admin
Asunto: Re: [MASSMAIL]Ayuda Técnica

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 = '8.8.8.8'
port = 5432
max_connections = 100
superuser_reserved_connections = 3
unix_socket_directories = '/var/run/postgresql'
unix_socket_permissions = 0777



El mar., 11 jun. 2019 a las 12:15, Departamento Soporte Técnico 
(<mateosat...@hotmail.com<mailto:mateosat...@hotmail.com>>) escribió:
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é Santamaría Flecha 
<juanjo.santama...@gmail.com<mailto:juanjo.santama...@gmail.com>>
Enviado: martes, 11 de junio de 2019 10:02
Para: Departamento Soporte Técnico
Cc: gilberto.casti...@etecsa.cu<mailto:gilberto.casti...@etecsa.cu>; postgres 
admin
Asunto: Re: [MASSMAIL]Ayuda Técnica


On Tue, Jun 11, 2019 at 4:12 PM Departamento Soporte Técnico 
<mateosat...@hotmail.com<mailto:mateosat...@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ón IP tiene que ser la que utilice el servidor de Postgres, 
¿realmente estás trabajando con 8.8.8.8?

Esta es una lista para mensajes en inglés. La lista en español es 
<pgsql-es-ay...@postgresql.org<mailto:pgsql-es-ay...@postgresql.org>>, por 
favor dirígete ahí si necesitas más ayuda.

Un saludo,

Juan José Santamaría Flecha


--
           Manuel Alejandro Garcia Mellado
Ingeniero Ejecución en Informática e computación
Concepcion - Chile VIII Region del Bio - Bio

Reply via email to