Pg_hba.conf problem after unexpected IP change

Поиск
Список
Период
Сортировка
От Yessica Brinkmann
Тема Pg_hba.conf problem after unexpected IP change
Дата
Msg-id CAOR+mccu0A1C+AgbsJCBJeuzp8LEZNVyyZR+paTTvhqyvvaPjw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Pg_hba.conf problem after unexpected IP change
Список 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 по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Are all unlogged tables in any case truncated after a server-crash?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Pg_hba.conf problem after unexpected IP change