[uylug-varios] Problema raro de conexion entre dos maquinas

Enrique Verdes emverdes at ieee.org
Fri Apr 29 05:33:58 PDT 2016


El servidor escucha en la IP 192.168.1.43? Por defecto posgresql solo
escucha en localhost. Hacé netstat -nltp | grep 5432 y fijate a que
interfaces está asociado el puerto.

Un nmap desde el cliente también te puede dar esa info.

El G at llego.


El 28 de abril de 2016, 23:58, Bruno Iglesias <bjifas at gmail.com> escribió:

> Para el telnet usa "telnet ip puerto", sin el :
> Si haces un nmap para ver que puertos tenes abiertos y se ven desde el
> cliente?
>
> Saludos
>
> 2016-04-28 22:59 GMT-03:00 Dante Castiglione M. <dac.maldonado at gmail.com>:
>
>>
>> Buenas...
>>
>> Tengo dos maquinas en la wifi, las dos con CentOS 7
>> 192.168.1.43 (DB server) y 192.168.1.42 (DB client)
>>
>> ping responde bien en ambos sentidos
>> en ambas maquinas iptables service dice inactive (dead)
>>
>>
>> --------------------
>>
>> si quiero conectar con el cliente de la DB hacia el server:
>>
>> [usuario at cliente ~]$ psql -h 192.168.1.43 -U dbuser dbname
>> psql: could not connect to server: No route to host
>>     Is the server running on host "192.168.1.43" and accepting
>>     TCP/IP connections on port 5432?
>>
>> (habla de ruta pero ambas estan en la LAN)
>>
>> --------------------
>>
>> si trato con telnet al port de la DB:
>>
>> [usuario at cliente ~]$ telnet 192.168.1.43:5432
>> telnet: 192.168.1.43:5432: Name or service not known
>> 192.168.1.43:5432: Unknown host
>> [usuario at cliente ~]$
>>
>> (habla de host desconocido pero estoy usando la IP)
>>
>> --------------------
>>
>> si intento con telnet desde ubuntu:
>>
>> usuario at cliente:~$ telnet 192.168.1.43:5432
>> telnet: could not resolve 192.168.1.43:5432/telnet: Temporary failure in
>> name resolution
>> usuario at cliente:~$
>>
>> (habla de falla de resolucion de nombres pero estoy usando la IP)
>>
>> --------------------
>>
>> No entiendo que le pasa... Los mensajes me resultan absurdos.
>> Alguien tiene alguna idea o vio algo similar?
>>
>>
>>
>>
>>
>> ---------------------------------------------
>>
>> *SouthX*
>> https://southx.io
>> BigData
>>
>> *Digicoins*
>> https://digicoins.cash <https://southx.io/>
>> Bitcoin
>>
>> Dante Castiglione Maldonado
>> dac.maldonado at gmail.com
>>
>> ---------------------------------------------
>>
>>
>> _______________________________________________
>> Uylug-varios mailing list
>> Uylug-varios at listas.uylug.org.uy
>> http://listas.uylug.org.uy/listinfo.cgi/uylug-varios-uylug.org.uy
>>
>>
>
>
> --
> Bruno Iglesias
>
> _______________________________________________
> Uylug-varios mailing list
> Uylug-varios at listas.uylug.org.uy
> http://listas.uylug.org.uy/listinfo.cgi/uylug-varios-uylug.org.uy
>
>


-- 
Enrique M. Verdes
<https://uy.linkedin.com/pub/enrique-verdes/1/794/ba8>

"As we enjoy great advantages from the inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and this
we should do freely and generously."

Benjamin Franklin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.uylug.org.uy/pipermail/uylug-varios-uylug.org.uy/attachments/20160429/a595951f/attachment-0001.htm>


More information about the Uylug-varios mailing list