Olukayode Oluwole
asked on
Whats the correct entry into pg_hba.conf file
Hi
I have just installed postgresql on linux ubuntu server
I tried to modify postgresql.conf and pg_hba.conf
When i restarted the postgresql i got the error below
Invalid IP mask "md5" Name or service not known
The specification was
host all datatronx 128.0.0.0 md5
What is wrong with the spec above
Regards
Oluwole
I have just installed postgresql on linux ubuntu server
I tried to modify postgresql.conf and pg_hba.conf
When i restarted the postgresql i got the error below
Invalid IP mask "md5" Name or service not known
The specification was
host all datatronx 128.0.0.0 md5
What is wrong with the spec above
Regards
Oluwole
host all datatronx 128.0.0.0/24 md5
ASKER
Post the contents of your pg_hba.conf
I still don't see a netmask after 128.0.0.0
ASKER
what should the netmask line be like
Thanks
Thanks
https://www.experts-exchange.com/questions/28955819/Whats-the-correct-entry-into-pg-hba-conf-file.html?anchorAnswerId=41694633#a41694633
or whatever the mask should look like.
or whatever the mask should look like.
ASKER
The link took you to my comment above where I gave an example of a netmask.
How many hosts in the 128.0.0.0 network do you wish to allow? Starting with what IP? Ending with what IP?
How many hosts in the 128.0.0.0 network do you wish to allow? Starting with what IP? Ending with what IP?
ASKER
Hi
I want an arrangement where i can have a maximum of 20 clients on 1 host
and as many host as the given IP will allow
My server IP is 46.101.17.29
What and how many entries will have to be in my pg_hba.conf file
Thanks
Oluwole
Oluwole
I want an arrangement where i can have a maximum of 20 clients on 1 host
and as many host as the given IP will allow
My server IP is 46.101.17.29
What and how many entries will have to be in my pg_hba.conf file
Thanks
Oluwole
Oluwole
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
good effort