| From: | Yi LIN <ylin30(at)cs(dot)mcgill(dot)ca> |
|---|---|
| To: | "Qi, Xlaoyan" <qix(at)uncw(dot)edu> |
| Cc: | pgsql_jdbc(at)postgresql(dot)org, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Re: telnet to port 5432 failed |
| Date: | 2004-09-23 20:30:18 |
| Message-ID: | Pine.GSO.4.44.0409231626330.15778-100000@willy |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Victor Sanchez2 | 2004-09-23 21:47:16 | pg_hba.conf ---> problem?? |
| Previous Message | Kris Jurka | 2004-09-23 19:18:38 | Re: telnet to port 5432 failed |