Re: FW: Allowing user to connect to a database?

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: "pgsql-general (at) postgresql (dot) org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: FW: Allowing user to connect to a database?
Date: 2003-06-19 14:36:39
Message-ID: 20030619153639.A21516@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 19/06/2003 14:04 Carlos Oliva wrote:
> Hi Paul,
> This worked very well. Perhaps, you can help me with another question:
> If I write an aaa bbb ccc of 200.200.200.0, do all clientes with IP
> addresses between 0.0.0.0 and 200.200.200.0 can connect?
>

No. The client ips would have to be in the range 200.200.200.1 to
200.200.200.254. The rules for sub-nets and sub-net masks can be a bit
confusing and I've yet to find a tutorial on-line which is easy to follow.
It might help you to think of 200.200.200.0 as 200.200.200.*.

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank Miles 2003-06-19 14:40:32 Re: A creepy story about dates. How to prevent it?
Previous Message Nigel J. Andrews 2003-06-19 14:25:46 Re: why are my SELECTs in transaction?