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 1ilxpL-00058R-QA for pgsql-admin@arkaria.postgresql.org; Mon, 30 Dec 2019 16:23:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ilxpI-0000aA-Hu for pgsql-admin@arkaria.postgresql.org; Mon, 30 Dec 2019 16:23:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ilxpI-0000Zv-50 for pgsql-admin@lists.postgresql.org; Mon, 30 Dec 2019 16:23:28 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ilxpF-0003uy-5E for pgsql-admin@postgresql.org; Mon, 30 Dec 2019 16:23:26 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id C612B19CEFE33 for ; Mon, 30 Dec 2019 09:23:23 -0700 (MST) Date: Mon, 30 Dec 2019 09:23:23 -0700 (MST) From: bvo To: pgsql-admin@postgresql.org Message-ID: <1577723003751-0.post@n3.nabble.com> Subject: how to connect pgadmin 4.16 to postgres db in linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, I am new with postgres and would like to know how to connect to the postgres db in Linux using pgadmin in Window. I created postgresdb in Linux and try to connect into the db using pgadmin4.16 in my window workstation. I create Server and put the hostname/address. I get an error: "Unable to connect to server: FATAL: no pg_hba.conf entry for host "192.168.#.#", user "postgres", database "dbname", SSL off " not even with database name as postgres. Do I need to put my window's ip on pg_hba.conf in Linux? How? In pg_hba.conf should I add entry: host all postgres trust ? What's happen if the other developers want to connect to the database using pgadmin, do I need to add their windows' IP in? Is there a way we can use like sqldeveloper without add all windows' IP? thank you. Bach-Nga -- Sent from: https://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html