Skip site navigation (1) Skip section navigation (2)

Re: trying to connect to pg from within a local network

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Albretch Mueller *EXTERN*" <lbrtchx(at)gmail(dot)com>,"Mark Lewis" <mark(dot)lewis(at)mir3(dot)com>,<pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: trying to connect to pg from within a local network
Date: 2008-01-21 08:27:20
Message-ID: D960CB61B694CF459DCFB4B0128514C2CC2A84@exadv11.host.magwien.gv.at (view raw or flat)
Thread:
Lists: pgsql-jdbc
Albretch Mueller wrote:
>  Start > Control Panel > Windows Firewall
>
>  and it is: "off (not recommended)"

Did you make sure that there is no firewall ON the server
and no firewall BETWEEN the client and the server?

> C:\>telnet bkn-04 5432
> Connecting To bkn-04...Could not open connection to the host, on port
> 5432: Connect failed

Did you try this on the client machine or on the server machine?

Does the result differ on both?

> C:\>telnet 10.0.31.88 5432
> Connecting To 10.0.31.88...Could not open connection to the host, on
> port 5432: Connect failed
> ~
> C:\>telnet bkn-04 8080
>  (connects OK)
> ~
> C:\>telnet 10.0.31.88 8080
>  (connects OK)

Since the "netstat" output you posted before showed something listening
on port 5432 on the server machine, it still looks like a network or
firewall problem.

Have you talked to the people who manage your network?

Yours,
Laurenz Albe

In response to

pgsql-jdbc by date

Next:From: 郭朝益 (ChaoYi, Kuo.)Date: 2008-01-21 08:56:31
Subject: Update zh_TW translation po file. (73%)
Previous:From: Kris JurkaDate: 2008-01-20 15:15:19
Subject: Re: determine if a column is UNIQUE using metadata

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group