Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY8pS-0005Bl-S0 for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 13:18:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iY8lG-0000ZL-TN for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 13:14:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY8lG-0000ZE-J0 for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 13:14:10 +0000 Received: from evolu-s.it ([94.23.66.144] helo=smtp.evolu-s.it) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1iY8lE-0006PW-8H for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 13:14:10 +0000 Received: from [192.168.1.129] ([79.6.30.247]) by smtp.evolu-s.it ; Fri, 22 Nov 2019 14:13:43 +0100 Subject: Re: [SPAM] Remote Connection Help To: pgsql-general@lists.postgresql.org References: <38f4bc78-acbf-9b46-7903-a27f46e6cc04@evolu-s.it> <20191121214022.GA17288@hjp.at> From: Moreno Andreo Message-ID: <31de2b25-78ec-6fc3-8b74-e7d518352c1a@evolu-s.it> Date: Fri, 22 Nov 2019 14:13:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191121214022.GA17288@hjp.at> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: it List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Il 21/11/19 22:40, Peter J. Holzer ha scritto: > On 2019-11-21 17:27:04 +0100, Moreno Andreo wrote: >> Connection refused means somthing has blocked it. If it was all OK and simply >> Postgres was not listening, you should've received a "connection timed out" >> (10060) message. > Almost exactly the other way around. If you try to connect to a port > where no server is listening, you get a connection refused message. > If something is blocking the connection you may get a timeout. > > hp > O.O You're right, obviously. Don't know why, it's since school days that sometines I swap these 2 error meanings (and have to deal with the consequences)... But I'm confident that one day there will be no more swapping... hopefully until I retire ...:-) Thanks for pointing out and sorry for the mistake (blushing) Moreno.-