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 1klTVl-0007do-48 for pgsql-general@arkaria.postgresql.org; Sat, 05 Dec 2020 09:05:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1klTVC-0000lQ-7j for pgsql-general@arkaria.postgresql.org; Sat, 05 Dec 2020 09:05:14 +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 1klTVB-0000lH-O3 for pgsql-general@lists.postgresql.org; Sat, 05 Dec 2020 09:05:13 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1klTV7-0004Ws-Al for pgsql-general@lists.postgresql.org; Sat, 05 Dec 2020 09:05:12 +0000 Received: by mail-ed1-x530.google.com with SMTP id v22so8342982edt.9 for ; Sat, 05 Dec 2020 01:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=r1NzavzDgkkpDTus4/1BWn/0RXsoBKnKKHpTUH1nHQo=; b=gToKmuTGJXZMYgZiBiefseKx1z8+ETn4FYnHW13R6NinkpBuSPH086sPtRMwa2lyVj icJH2jRDjlfX3xhJoBybboEujeGp05r2sfl4ad3oMzQDSEbUAybnjaLMzyKLmZYVIcH7 a7Vh8edbnU5ARGuU9teSjxElt16yJJARz1PyNUZNJYbPYCaL+/GqBMpBzKfF5s7W3HxC aDCGdhaMZM9cai7LRe+GPkpEEHksTa+WXb3s271qLVUnI01vn5VJjsFOWGI87Grf139v MJrWSf9cuHoyA0ihL5LqUoBKYkYxIqJwFHDSP+wOEhQygVq4XmaBF+pn4WCXsE66ZRF1 IOkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=r1NzavzDgkkpDTus4/1BWn/0RXsoBKnKKHpTUH1nHQo=; b=KpkGNJnvFf01PIeS/N5zdlgdkjIJ759MwjkvMjRvPPpnmye7QF377d+oLUXis+11dM lLzJpUtNkSoTZuu/G/+W1agiNhpjdIogmYXihIXv8FtUjd1K+PV2RAvLyrA1X999uZWX Im5zHlTWyfAjVyoV3p2xNLirxr0JYuHj3Ro+KUnLjA7xf9Ce/N7cUylO33xeRSyC2qWA q/GOqbsJDNWWy0j2Pt6wyoBd8mjYwQSiHDF/oWjrk40E+e86n0wy8RdPeQZ7OsP4C0A+ ud7liRhzLJbYF5zd/Acfvu0FisCv/I+sQm9/q7V6fK17DNCiPG3FBDS7TNyg6A+Y3/Tg LYPw== X-Gm-Message-State: AOAM532BpyE19TY3vnWlyNrbVD0hcyXI+6PIlMfP8hBQYYOTVcDkV14Y EXdQHtmeR/1cmxZrMCmxb9k= X-Google-Smtp-Source: ABdhPJxXaeP4kUV1DtyMVhD5P3/Pb5lZRaB5NffccAysRtwomvI8KaBiWGDc4PIO4xEHJja1kUXJ1w== X-Received: by 2002:a50:b2c1:: with SMTP id p59mr11670758edd.318.1607159107908; Sat, 05 Dec 2020 01:05:07 -0800 (PST) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id op24sm4743353ejb.56.2020.12.05.01.05.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Dec 2020 01:05:07 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: Accessing Postgres Server and database from other Machine From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: Date: Sat, 5 Dec 2020 10:05:05 +0100 Cc: "Muthukumar.GK" , =?utf-8?Q?Nicklas_Av=C3=A9n?= , "pgsql-generallists.postgresql.org" , Adrian Klaver , "pgsql-general@postgresql.org >> PG-General Mailing List" Content-Transfer-Encoding: quoted-printable Message-Id: <9BA257B9-D281-4CD0-B8EB-62ABFFD9924B@gmail.com> References: <717fd284-6bf5-c5d5-3fed-bb3677108b7a@aklaver.com> <450B1DA0-91E3-43E9-873A-82E89A655AC5@jordogskog.no> To: Hemil Ruparel X-Mailer: Apple Mail (2.3654.20.0.2.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Hemil, > On 05. Dec, 2020, at 07:50, Hemil Ruparel = wrote: >=20 > 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=3D# select pg_reload_conf(); You can then see the effective result immediately in pg_hab_file_rules: postgres=3D# table pg_hba_file_rules; Hope this helps. Cheers, Paul=