Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 363EBB5DCCD for ; Fri, 30 Sep 2011 07:18:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 80819-03 for ; Fri, 30 Sep 2011 10:18:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from smtplq03.aruba.it (smtplq-out13.aruba.it [62.149.158.33]) by mail.postgresql.org (Postfix) with SMTP id 67A48B5DD11 for ; Fri, 30 Sep 2011 07:17:51 -0300 (ADT) Received: (qmail 29819 invoked by uid 89); 30 Sep 2011 10:17:48 -0000 Received: from unknown (HELO smtp6.aruba.it) (62.149.158.226) by smtplq03.aruba.it with SMTP; 30 Sep 2011 10:17:48 -0000 Received: (qmail 8016 invoked by uid 89); 30 Sep 2011 10:17:48 -0000 Received: from unknown (HELO Elaborazione1) (p.laranci@terrasystem.it@95.224.110.220) by smtp6.ad.aruba.it with SMTP; 30 Sep 2011 10:17:48 -0000 Message-ID: From: "Pietro Laranci" To: Subject: Connection refused (0x0000274D/10061) Date: Fri, 30 Sep 2011 12:17:51 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004A_01CC7F6A.F984E980" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Spam-Rating: smtp6.ad.aruba.it 1.6.2 0/1000/N X-Spam-Rating: smtplq03.aruba.it 1.6.2 0/1000/N X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201109/1077 X-Sequence-Number: 180435 This is a multi-part message in MIME format. ------=_NextPart_000_004A_01CC7F6A.F984E980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good morning to everybody I have a pg9 db to wich i can connect to by local but not from remote. = In the properties of the postgres db , the port is set to 5300 (not the = default 5432). I tried to connect in remote with pgadmin3 and quantum gis, both give = the error Connection refused (0x0000274D/10061). This is the complet message in quantum gis (but is silimar in pgadmin3) "could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "95.110.201.74" and accepting TCP/IP connections on port 5300?" Whit both the programs installed on the same pc of the db, i can connect = without problem to the db. I already did these settings: - in postgresql.conf : listen_addresses =3D '*' and port =3D 5300 (in = the place of the default 5432) - in pg_hba.conf: =20 host [dbname] all 0.0.0.0/0 md5 host [dbname] all 127.0.0.1/32 md5 - restarted postgres I also tried to substitute on the db properties "host=3Dlocalhost" with = "host=3D95.110.201.74" On the machines are not active firewalls. Have you any clue of what's wrong? Grazie Thanks ------=_NextPart_000_004A_01CC7F6A.F984E980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 Good = morning to=20 everybody
 
I have a pg9 db to wich i can connect to by local but not from = remote. In=20 the properties of the postgres db , the port is set to 5300 (not the = default=20 5432).
I tried to connect in remote with pgadmin3 and quantum gis, both = give the=20 error Connection refused (0x0000274D/10061).
This is the complet message in quantum gis (but is silimar in=20 pgadmin3)
 

"could = not connect=20 to server: Connection refused (0x0000274D/10061)

Is the = server=20 running on host "95.110.201.74" and accepting

TCP/IP = connections=20 on port 5300?"

 

Whit = both the=20 programs installed on the same pc of the db, i can connect without = problem to=20 the db.

 

I = already did=20 these settings:

 

-=20 in postgresql.conf : listen_addresses =3D '*' and port = =3D=20 5300 (in the place of the default 5432)

 

- in=20 pg_hba.conf: 

host  =20 [dbname]   all    =20 0.0.0.0/0      md5

host   [dbname] =20 all      127.0.0.1/32   &nbs= p;    =20 md5

 

- = restarted=20 postgres

 

 

I also=20 tried to substitute on the db=20 properties "host=3Dlocalhost" with "host=3D95.110.201.74"

 

On the = machines=20 are not active firewalls.

 

Have = you any=20 clue of what's wrong?

 

Grazie

 

Thanks

 
------=_NextPart_000_004A_01CC7F6A.F984E980--