Pg_hba.conf problem after unexpected IP change - Mailing list pgsql-general

From Yessica Brinkmann
Subject Pg_hba.conf problem after unexpected IP change
Date
Msg-id CAOR+mccu0A1C+AgbsJCBJeuzp8LEZNVyyZR+paTTvhqyvvaPjw@mail.gmail.com
Whole thread Raw
Responses Re: Pg_hba.conf problem after unexpected IP change
List pgsql-general
Hello. I write for the following reason: I had configured a pg_hba.conf file, which I am using with some debian virtual machines, to be able to communicate between two different virtual machines.
Well, it turns out that at one point when I was using my virtual machines, suddenly and unexpectedly, the IP of one of the virtual machines changed.
I was trying to find out why the commands that I was executing between one virtual machine and the other did not work for me, until finally I came to the conclusion that the IP of one of my virtual machines had changed.
Well, then, I went to modify my pg_hba.conf file so that it reflected the new IP that I did not know why it changed, and to continue communicating between the two virtual machines, but it turns out that when I change my pg_hba.conf file, the connection still does not work for me .
The new line in my pg_hba.conf file is as follows:
host ds2 postgres 192.168.52.153/32 trust
and the line above was:
host ds2 postgres 192.168.52.150/32 trust
I clarify that right now when doing ip addr in the virtual machine whose IP changed unexpectedly, the following IP address appears: 192.168.52.153/24.
I will greatly appreciate a help please.
Regards,
Yessica Brinkmann

Libre de virus. www.avg.com

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Are all unlogged tables in any case truncated after a server-crash?
Next
From: Adrian Klaver
Date:
Subject: Re: Pg_hba.conf problem after unexpected IP change