Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klZ1G-0002UJ-VX for pgsql-general@arkaria.postgresql.org; Sat, 05 Dec 2020 14:58:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1klZ1F-00070y-UT for pgsql-general@arkaria.postgresql.org; Sat, 05 Dec 2020 14:58:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klZ1F-00070l-HU for pgsql-general@lists.postgresql.org; Sat, 05 Dec 2020 14:58:41 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klZ1B-0001F0-1G for pgsql-general@postgresql.org; Sat, 05 Dec 2020 14:58:40 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3D44A78C; Sat, 5 Dec 2020 09:58:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 05 Dec 2020 09:58:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=G PpX2cX8P3lwqX7jk8c0a/8cedhD5nTEwi4wkkuoQho=; b=SUOWbnDKbBkTetW5k pxVqi1DXcFOHtoRzjs7zPiPs7LlYoWpNcF58RrwtiOV88tvjyNygU+/rw/pi14aF 4O0Og9b4H8X4+bS3r1Kot/a90I5gRd+qV/1rUhvhfV8I2AufogJZn6sXV16bwt1R qMOnGMdZtKMFbC2OoJDA/LkEqs669A10pzFSljRpO8zsGftb/MlMrqC4HTCG248g HB7ebfOL5heNeczyBxwFtTJquvBYdWJKi6YzMS4PsvoJDekn2eRi7I9jktufZmiL FwgoGzaIFrc4MeDXAFwOy9OW+WivQh8FeCzYcydoXTQOxJdA+WU4sk8YG1fsbsUe SgybA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=GPpX2cX8P3lwqX7jk8c0a/8cedhD5nTEwi4wkkuoQ ho=; b=AusxFDR7Qjb/sDj1dLxuIR08yNJXH9Zj85bF6akdqnRdtfLQ/U30u7Ros r/0/lTfYQhWX+ShmJbKhGNONu1voaqjkTfeLY+VggXV4LwGJ01cExBXYlQeCkt6L kfgSiFrX5inKP+l23iNDpANUvpsFRmzQMhbkoUaOVjmUcghErnz0pX09jhx9yQ5+ mQiblkzPYuwGHQMUNBBsfE947woNBg39HI6qmivAL0SYujyXzlk+ViSOdvxykLLi YIZ73NbIq25VhLPgiDQ4gmP+S1EK/91SXQsQNS3sAW1XgRn9F8aFNjlqXv5ebKJy WjXcULF1rU+WcEvz5otRO4mG3zfIg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejtddgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrddurdeileenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghv vghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-1-69.tukw.qwest.net [75.172.1.69]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A22B240059; Sat, 5 Dec 2020 09:58:31 -0500 (EST) Subject: Re: Accessing Postgres Server and database from other Machine To: =?UTF-8?Q?Paul_F=c3=b6rster?= , Hemil Ruparel Cc: "Muthukumar.GK" , =?UTF-8?Q?Nicklas_Av=c3=a9n?= , "pgsql-generallists.postgresql.org" , "pgsql-general@postgresql.org >> PG-General Mailing List" References: <717fd284-6bf5-c5d5-3fed-bb3677108b7a@aklaver.com> <450B1DA0-91E3-43E9-873A-82E89A655AC5@jordogskog.no> <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com> From: Adrian Klaver Message-ID: <2868688b-2344-5d8e-e321-b329b7a61e47@aklaver.com> Date: Sat, 5 Dec 2020 06:58:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/5/20 1:05 AM, Paul Förster wrote: > Hi Hemil, > >> On 05. Dec, 2020, at 07:50, Hemil Ruparel wrote: >> >> Did you restart postgres after changing pg_hba.conf? > > that shouldn't be necessary for changes in pg_hba.conf. Just do either on the command line: > > $ pg_ctl reload > > or from psql: > > postgres=# select pg_reload_conf(); > > You can then see the effective result immediately in pg_hab_file_rules: > > postgres=# table pg_hba_file_rules; > > Hope this helps. Given that the OP changed pg_hba.conf.sample, probably not:). > > Cheers, > Paul > -- Adrian Klaver adrian.klaver@aklaver.com