IP address for Wider Use?
Dan Ridinger
dlr at futurechalk.com
Mon Jan 24 00:22:42 UTC 2022
Hello Das,
Setting up access to the outside world id defined in the hba config file in Postgres
I have put a link in for the documentation on pg_hba.conf file setup. This file controls what IP’s can access the database and a number of other access control information. There are some good examples of setups.
https://www.postgresql.org/docs/14/auth-pg-hba-conf.html <https://www.postgresql.org/docs/14/auth-pg-hba-conf.html>
Dan Ridinger
Managing Director
FutureChalk Software Inc.
20521 92A Avenue
Langley, BC V1M 1B7
Phone No: 604.723.6837
EMail: dlr at futurechalk.com
www: www.futurechalk.com
> On Jan 23, 2022, at 2:43 PM, Das Goravani <goravanis at gmail.com> wrote:
>
>
> Hello $all,
>
> I have setup a Postgres database and am connected into it.
>
> It currently is accepting connections from 192.168 only.
>
> I take it that 192.168 refers only to one’s local network.
>
> How do you configure pg_hba.config to allow connections from anywhere?
>
> Because I want this database to be a part of an online demo I make of Omnis’s capabilities.
>
> To show what I can do.
>
> I want people from anywhere to be able to access it and use it.
>
> And I wonder, what is the IP address of my server in that regard.. I currently am logging into 192.168.1.3, which I think is a local only type address.
>
> So I’m confused about "the wider address" of my server and how to allow connections from a wider audience.
>
> That’s it.
>
> Thanks
>
> Das Goravani
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list