Re: telnet to port 5432 failed - Mailing list pgsql-jdbc

From Yi LIN
Subject Re: telnet to port 5432 failed
Date
Msg-id Pine.GSO.4.44.0409231626330.15778-100000@willy
Whole thread Raw
In response to telnet to port 5432 failed  ("Qi, Xlaoyan" <qix@uncw.edu>)
List pgsql-jdbc
5432 is default port for postgresql. I guess it has been occupied by
someone else. Try to run postgresql at some other ports. Remember to
modify your pg_hba.conf to put database server IP there. Your database then should be
//host:port/dbname.

It works for me.

Yi


On Thu, 23 Sep 2004, Qi, Xlaoyan wrote:

> Have Database server running in RHE3. postgresql.conf was changed to set
> tcp_ip=true. Pg_hba.conf was changed to allow my windows machine to
> access the database. Running "telnet localhost 5432" in linux shows
> connected to localhost. From my windows end, I can telnet to linux box
> successfully, it gives the error of "could not open the connection to
> host on port 5432" when I run "telnet linux_ip 5432"
>
> What could be the problem?
>
> Thanks.
>
>
>
> Cynthia
>
>


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: telnet to port 5432 failed
Next
From: Victor Sanchez2
Date:
Subject: pg_hba.conf ---> problem??