pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: bvo <pepevo@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: how to connect pgadmin 4.16 to postgres db in linux
Date: Mon, 30 Dec 2019 09:23:23 -0700 (MST)
Message-ID: <1577723003751-0.post@n3.nabble.com> (raw)

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





view thread (5+ messages)  latest in thread

Message-ID: <1577723003751-0.post@n3.nabble.com>
Permalink:  ../1577723003751-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1577723003751-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pepevo@yahoo.com
  Subject: Re: how to connect pgadmin 4.16 to postgres db in linux
  In-Reply-To: <1577723003751-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox